1.0.4 • Published 3 years ago

@michaelaroberts/the-one-sdk v1.0.4

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

the-one-sdk

the-one-sdk is an SDK for the The One API

minified-size lic

How to Install

npm i @michaelaroberts/the-one-sdk

How to Build/Run Local

the-one-sdk is bundled with parcel, run npm run watch or npm run build to run the compiler, either in watch or build mode

How to Run Tests

create a .env file, with a value called TOKEN assigned to your the-one-api bearer token. The test command is: npm run test

Basic Functionality

import one from '@michaelaroberts/the-one-sdk'
const ring = one.setToken('YOUR-TOKEN-HERE');
const quotes = await ring.getQuotes();
console.log(quotes)

For more implementation infomation, view the SDK design document here

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago