myanimelist.js

1.0.0-alpha.7 • Public • Published

MyAnimeList.js

API wrapper for MyAnimeList.net

Download

  • npm install --save myanimelist.js

Usage

const MyAnimeList = require("myanimelist.js");

// Get users Anime or Manga list
MyAnimeList.getUserList("lapoozza", "anime")
    .then(r => r.forEach(x => console.log("+", x.series_title[0])))
    .catch(e => console.error(e));

// Search for Anime or Manga
const mal = new MyAnimeList("USERNAME", "PASSWORD");
mal.search("boruto", "anime")
    .then(r => console.log(r))
    .catch(e => console.error(e));

License

MIT

Copyright (c) 2017 Jewel Mahanta

Readme

Keywords

Package Sidebar

Install

npm i myanimelist.js

Weekly Downloads

0

Version

1.0.0-alpha.7

License

MIT

Last publish

Collaborators

  • lap00zza