This package has been deprecated

Author message:

This package is no longer maintained. Please use an alternative instead.

anilist-scheduler

1.1.6 • Public • Published

Anilist Scheduler

Unofficial API for upcoming anime airings. Anilist.co

📁 Installation

npm i anilist-scheduler@latest

🚦 Initializing the Scheduler

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 !

Event

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);
});

Upcoming airing

You can access the list of upcoming airings.

const upcomingAiring = scheduler.airingList;
console.log(upcomingAiring);

☎️ Contact

Discord : Zeleff_

Package Sidebar

Install

npm i anilist-scheduler

Weekly Downloads

0

Version

1.1.6

License

ISC

Unpacked Size

13.9 kB

Total Files

7

Last publish

Collaborators

  • zeleff_