0.1.9 • Published 3 years ago

unl-js-api v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

unl-js-api

A javascript SDK to wrap the UNL API. The library is written in TypeScript and it provides its own type definitions.

Install

npm install unl-js-api
yarn add unl-core

Usage

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 unlApi instance:

unlApi.recordsApi.getById('YOUR-PROJECT-ID', 'YOUR-RECORD-ID');

For information on how to generate an API key, along with usage examples follow the UNL developer documentation.

0.1.8

3 years ago

0.1.9

3 years ago

0.1.7

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago