Using trakto.github.io with trakt.tv

JavaScript integration

Install
npm install trakto.github.io
Get networks
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.trakt.tv/networks
Get list
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.trakt.tv/lists/{id}
Get a single show
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.trakt.tv/shows/{id}
SDK on GitHub 📄 API Docs
SDK
trakto.github.io
JavaScript
API
trakt.tv
trakt.tv
At a glance
Language JavaScript
Endpoints183
Base URLhttps://api.trakt.tv