shikimori
v1.1.2
Published
Modern ES6 Promise based API client for shikimori.one
Downloads
8
Maintainers
Readme
| 📖 TSDocs | |-------------------------------------------------------|
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