Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kawaii-kitsune

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kawaii-kitsune

A promise NodeJS wrapper for interacting with the kitsu.io API including typings for typescript

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

kawaii-kitsune

Features

  • Search anime by name or id
  • Search manga by name or id
  • Search users by name or id
  • Search characters by name or id

Install

npm install --save kawaii-kitsune

Usage

Normal usage:
const Kitsu = require('kawaii-kitsune');
const kitsu = new Kitsu();

kitsu.searchAnime('fate/apocrypha')
  .then((result) => console.log(result))
  .catch((err) => console.error(err));
TypeScript:
import * as Kitsu from 'kawaii-kitsune';
const kitsu = new Kitsu();

kitsu.searchAnime('fate/apocrypha')
  .then((result: any) => console.log(result))
  .catch((err: any) => console.error(err));

Docs

kitsu.searchAnime(anime, offset)
ParameterTypeOptionalDefaultDescription
animestringnoneThe anime you want to search
offsetnumberX0Offset for pagination
kitsu.searchManga(manga, offset)
ParameterTypeOptionalDefaultDescription
mangastringnoneThe manga you want to search
offsetnumberX0Offset for pagination
kitsu.getAnime(animeID)
ParameterTypeOptionalDefaultDescription
animeIDstringnoneThe anime you want to search
kitsu.getManga(mangaID)
ParameterTypeOptionalDefaultDescription
mangaIDstringnoneThe manga you want to search
kitsu.searchUsers(userName)
ParameterTypeOptionalDefaultDescription
userNamestringnoneThe name of the user you want to search
kitsu.getUsers(userID)
ParameterTypeOptionalDefaultDescription
userIDstringnoneThe user you want to search
kitsu.searchCharacter(characterName)
ParameterTypeOptionalDefaultDescription
characterNamestringnoneThe name of the character you want to search
kitsu.getCharacter(characterID)
ParameterTypeOptionalDefaultDescription
characterIDstringnoneThe character you want to search

TODO

  • Search for producers
  • Search for user stats

Keywords

FAQs

Package last updated on 08 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc