1.1.2 • Published 6 months ago
shikimori v1.1.2
📖 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