1.1.6 • Published 2 years ago

anilist-scheduler v1.1.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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_

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago