npm install unl-js-api
yarn add unl-core
You can import the UnlApi class and create an instance by passing an UNL API Key. Replace "YOUR-UNL-API-KEY" with a valid key in the following snippet.
import UnlApi from 'unl-js-api'; const UNL_API_KEY = config.UNL_API_KEY; const unlApi = new UnlApi('YOUR-UNL-API-KEY');
Next, the methods can be called by referencing the
For information on how to generate an API key, along with usage examples follow the UNL developer documentation.