trakt-nodejs-client
TypeScript icon, indicating that this package has built-in type declarations

0.9.8 • Public • Published

trakt-typed-api (WIP)

A typed API wrapper for Node.js to access the Trakt.tv API.

The wrapper is grouped and listed in the same manner as the API documentation and contains the interfaces for the arguments required for each method.

The API documentation will give the details on what is returned from each method, adding these interfaces is a work in process.

This is updated in my free time so any fixes may not be instant;

https://trakt.docs.apiary.io/

Futher development will include

  • [x] Types for common objects such as 'movie', 'show' etc.
  • [x] Interfaces for the return objects of each method.
  • [x] Optional pagination parameters.
  • [x] Optional extended info parameter.
  • [x] Optional filters.
  • [ ] Examples of use, notably how to create and authorise the API.
  • [ ] Addition of error trapping with exception message.
  • [ ] Create response types for extended information.
  • [ ] Create a fluent interface for common optional parameters.
  • [ ] Refactor the build scripts and base classes.

Package Sidebar

Install

npm i trakt-nodejs-client

Weekly Downloads

1

Version

0.9.8

License

ISC

Unpacked Size

283 kB

Total Files

11

Last publish

Collaborators

  • andyd28