Api Wrapper for AniList
Anilist API Documentation
yarn add aniwrapper
npm install --save aniwrapper
To retrieve a token you can go to the following and paste your token
GetToken
You can also retrieve a token setting up your own anilist app
make sure not to expose your token to a github repo or post it online
import Anilist from 'aniwrapper' // ES Modules and Babel
const Anilist = require('aniwrapper') // CommonJS and Browserify
const Anilist = require('aniwrapper/node') // node-only package
//node
const Anilist = require('aniwrapper/node');
const aniClient = new Anilist(token);
aniClient
.getUserList()
.then((result) => console.log(result));