myanimelist.js
v1.0.0-alpha.7
Published
API Wrapper for MyAnimeList
Downloads
12
Readme
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
Copyright (c) 2017 Jewel Mahanta