Unofficial API for upcoming anime airings. Anilist.co
- This package use chalk and node-fetch.
- Utilizes the Anilist API.
- Npm Package : https://www.npmjs.com/package/anilist-scheduler
npm i anilist-scheduler@latest
const Scheduler = require("anilist-scheduler");
const scheduler = new Scheduler({
log: true, // Get log. (Animes upcoming list & errors)
days: 1, // Retrieve upcoming airing for the next x days. (default: 1)
});
scheduler.init(); // Important to launch the scheduler !
The 'airing' event allows you to receive recently aired anime shows.
const { default: Scheduler } = require("anilist-sheduler");
scheduler.on(Scheduler.AIRING, (animes) => {
console.log(animes);
});
You can access the list of upcoming airings.
const upcomingAiring = scheduler.airingList;
console.log(upcomingAiring);
Discord : Zeleff_