Using Companies API

const Emis = require('emis_apicompanyapi');

const accessToken = "ENTER YOUR API KEY HERE"; const exampleSeriesId = "EXAMPLE SERIES ID";
const apiClient = new Emis.ApiClient();
const companiesApi = new Emis.CompaniesApi(apiClient);
companiesApi.companiesMatchGet({token: accessToken}).then(function(companyMatchResponseResult) {     // Access companies match data     var matchedItems = companyMatchResponseResult.data.items;     var firstItem = matchedItems[0]; }, function(error) {     // Handle error });