shikimori

1.1.2 • Public • Published

...

shikimori

Modern ES6 Promise based API client for shikimori

📖 TSDocs

Version Version

Install 📦

# using npm
npm i shikimori
# using yarn
yarn add shikimori
# using pnpm
pnpm add shikimori

Usage 🔧

Check all available methods in 📖 Documentation.

import { API } from 'shikimori'; // ESM
// OR
const { API } = require('shikimori'); // CommonJS

// Create Shikimori API client, without auth 
const shikimori = new API();

shikimori.animes.get({
  search: 'восхождение в тени'
})
  .then(animes => animes.map(anime => `id: ${anime.id} | name: ${anime.name}`));

Thanks 🙏

PanSeek for help in creating types and interfaces for API

Package Sidebar

Install

npm i shikimori

Weekly Downloads

3

Version

1.1.2

License

GPL-3.0

Unpacked Size

120 kB

Total Files

6

Last publish

Collaborators

  • whyrinki