Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (20 loc) · 643 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 643 Bytes

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