shikimori
Modern ES6 Promise based API client for shikimori
📖 TSDocs |
---|
# using npm
npm i shikimori
# using yarn
yarn add shikimori
# using pnpm
pnpm add shikimori
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}`));
PanSeek for help in creating types and interfaces for API