1.0.4 • Published 2 years ago

adelrodriguez-sdk v1.0.4

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

adelrodriguez-sdk

This is a small SDK for the The One API, written in TypeScript.

Installation

npm install adelrodriguez-sdk

Usage

import SDK from "adelrodriguez-sdk"

const sdk = new SDK({ apiKey: "fN4NgvRGuUxoYMZqSMHC" })

sdk.movies.list({ limit: 1 }).then((movies) => {
  console.log(movies)
})

Testing

Copy the repository to your local environment and install dependencies:

npm install

Then copy the .env.example file to .env and fill in the API_KEY variable with your API key.

Finally, run the tests:

npm test

Be ware that running the test suite multiple times might lead to 429 errors.

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago