This package has been deprecated

Author message:

use 'kitsu' on npm instead.

kitsu.js
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

kitsu.js

A NodeJS wrapper for interacting with the kitsu.io API.

NPM version NPM downloads Dependencies

NPM info

Features

  • Currently supports only GET requests for Anime, Manga, and Users
    • Anime with search/ID, Manga with search/ID, and Users with ID only

Install

npm install --save kitsu.js

Usage

Normal usage:

const Kitsu = require('kitsu.js');
const kitsu = new Kitsu();

kitsu.searchAnime('One Piece')
	.then(result => console.log(result))
	.catch(err => console.error(err));

Docs

kitsu.searchAnime(anime, offset)

Parameter Type Optional Default Description
anime string none The anime you want to search
offset number X 0 Offset for pagination

kitsu.searchManga(manga, offset)

Parameter Type Optional Default Description
manga string none The manga you want to search
offset number X 0 Offset for pagination

kitsu.getAnime(animeID)

Parameter Type Optional Default Description
animeID string none The anime you want to search

kitsu.getManga(mangaID)

Parameter Type Optional Default Description
mangaID string none The manga you want to search

kitsu.getUsers(userID)

Parameter Type Optional Default Description
userID string none The user you want to search

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

kitsu.js © iCrawl, Released under the MIT License.
Authored and maintained by iCrawl.

GitHub @iCrawl · Twitter @iCrawlToGo

Package Sidebar

Install

npm i kitsu.js

Weekly Downloads

94

Version

2.0.0

License

MIT

Last publish

Collaborators

  • crawl