var Ceic = require('ceic_api');
var accessToken = "ENTER YOUR API KEY HERE";
var exampleSeriesId = "EXAMPLE SERIES ID";
var apiClient = new Ceic.ApiClient();
var dictionaryApi = new Ceic.DictionaryApi(apiClient);
dictionaryApi.getClassifications({token: accessToken}).then(function(classificationsResult) {
// Access classifications result data
var classifications = classificationsResult.data;
var firstClassification = classifications[0];
var secondClassification = classifications[1];
}, function(error) {
// Handle error
});
dictionaryApi.getCountries({token: accessToken}).then(function(countriesResult) {
// Access countries result data
var countries = countriesResult.data;
var firstCountry = countries[0];
var secondCountry = countries[1];
}, function(error) {
// Handle error
});