const SiteClient = require('datocms-client').SiteClient;const client = new SiteClient('YOUR-API-TOKEN');client.uploadSmartTags.all().then((uploadSmartTags) => {uploadSmartTags.forEach((uploadSmartTag) => {console.log(uploadSmartTag);});}).catch((error) => {console.error(error);});
> node example.js{"id": "42","name": "building"}