npm i @shineiichijo/marika
yarn add @shineiichijo/marika
import { Marika } from '@shineiichijo/marika'
;(async () => {
const { anime } = new Marika()
await anime.getAnimeById(1)
.then(console.log)
.catch(console.error)
})()
import { Manga } from '@shineiichijo/marika'
;(async () => {
const manga = new Manga()
await manga.getMangaSearch({ q: 'Nisekoi', page: 1, genres: [22, 4], limit: 1 })
.then(console.log)
.catch(console.error)
})()
import { Marika, AnimeSeasons, AnimeTypes } from '@shineiichijo/marika'
;(async () => {
const { seasons } = new Marika()
await seasons.getSeason(2023, AnimeSeasons['FALL'], { sfw: true, filter: AnimeTypes['TV'] })
.then(console.log)
.catch(console.error)
})()
import { Characters } from '@shineiichijo/marika'
;(async () => {
const characters = new Characters()
await characters.getCharacterFullById(66597)
.then(console.log)
.catch(console.error)
})()
import { Marika, Days } from '@shineiichijo/marika'
;(async () => {
const { schedules } = new Marika()
await schedules.getSchedules({ filter: Days['MONDAY'] })
.then(console.log)
.catch(console.error)
})()