An API 📦 for the the unofficial MyAnimeList API jikan.moe v4

Overview
chitoge

Marika

NPM

A promise based API wrapper for the unofficial MyAnimeList API


Installation

npm i @shineiichijo/marika

yarn add @shineiichijo/marika

🚀 Importing

import { Anime, Character, Manga } from "@shineiichijo/marika"; // const { Anime, Character, Manga } = require("@shineiichijo/marika")
const animeClient = new Anime();
const charaClient = new Character();
const mangaClient = new Manga();

💙 Anime Methods

await animeClient.getRandomAnime(); //will return random anime with info

await animeClient.getAnimeById(id); //will return the info for the given anime id

await animeClient.getAnimeCharacters(id); //will return characters of the given anime id

await animeClient.getAnimeStaff(id); //will return staff list for the given anime id

await animeClient.getAnimeEpisodes(id); //will return episodes list of the given anime id. You can also query the page. Example: await animeClient.getAnimeEpisodes(id, { query: page_number })

await animeClient.getAnimeEpisodeById(id, { query: episode_number }); //will return the info of the given anime id episode

await animeClient.getAnimeNews(id); //will return the list of anime news for the given anime id. You can also query the page. Example: await animeClient.getAnimeNews(id, { query: page_number })

await animeClient.getAnimeForum(id); //will return the forum of the given anime id. You can also select the filter. Example: await animeClient.getAnimeForum(id, { filter: "episode" }). You can check the filters here - https://github.com/ShineiIchijo/Marika/blob/main/src/typings/searchOptions.ts#L85

await animeClient.getAnimeVideos(id); //will return the list of videos for the given anime id

await animeClient.getAnimePictures(id); //will return pictures of the given anime id

await animeClient.getAnimeStats(id); //will return the stats for the given anime id

await animeClient.getAnimeRecommendations(id); //will return recommendations of the given anime id

await animeClient.getAnimeMoreInfo(id); //will return more info for the given anime id

await animeClient.getAnimeUserUpdates(id); //will return user updates of the given anime id. You can also query the page. Example: await animeClient.getAnimeUserUpdates(id, { query: page_number })

await animeClient.getAnimeReviews(id); //will return reviews of the given anime id. You can also query the page. Example: await animeClient.getAnimeReviews(id, { query: page_number })

await animeClient.getAnimeRelations(id); //will return relations of the given anime id

await animeClient.getAnimeThemes(id); //will return themes of the given anime id

await animeClient.getAnimeExternals(id); //will return externals of the given anime id

await animeClient.searchAnime(query); //will search the given anime title. You can pass several options. You can check it out at here - https://github.com/ShineiIchijo/Marika/blob/main/src/typings/searchOptions.ts#L1

await animeClient.getTopAnime(); //will return list for the ranking of anime in MyAnimeList. You can also query the page. Example - await animeClient.getTopAnime({ query: page_number })

💚 Manga Methods

await mangaClient.getRandomManga(); //will return random manga with info

await mangaClient.getMangaById(id); //will return the info of the given manga id

await mangaClient.getMangaCharacters(id); //will return characters of the given manga id

await mangaClient.getMangaNews(id); //will return news of the given manga id. You can also query the page. Example: await mangaClient.getMangaNews(id, { query: page_number })

await mangaClient.getMangaTopics(id); //will return topics of the given Manga ID

await mangaClient.getMangaPictures(id); //will return pictures of the given manga id

await mangaClient.getMangaStats(id); //will return the stats for the given manga id

await mangaClient.getMangaMoreInfo(id); //will return more info for the given manga id

await mangaClient.getMangaRecommendations(id); //will rerturn recommendations of the given manga id

await mangaClient.getMangaUserUpdates(id); //will return user updates of the given manga id. You can also query the page. Example: await mangaClient.getMangaUserUpdates(id, { query: page_number })

await mangaClient.getMangaReviews(id); //will return reviews of the given manga id. You can also query the page. Example: await mangaClient.getMangaReviews(id, { query: page_number })

await mangaClient.getMangaRelations(id); //will return relations of the given manga id

await mangaClient.getMangaExternal(id); //will return external of the given manga id

await mangaClient.searchManga(query); //will search the given manga. You can pass several options. You can check it out at here - https://github.com/ShineiIchijo/Marika/blob/main/src/typings/searchOptions.ts#L27

await mangaClient.getTopManga(); //will return list for ranking of manga in MyAnimeList. You can also query the page. Example - await mangaClient.getTopManga({ query: page_number })

🤍 Character Methods

await charaClient.getRandomCharacter(); //will return random anime character with info

await charaClient.getCharacterById(id); //will return the info for the given character id

await charaClient.getCharacterManga(id); //will return the manga for the given character id

await charaClient.getCharacterAnime(id); //will return the anime for the given character id

await charaClient.getCharacterVoiceActors(id); //will return the voice actors of the given character id

await charaClient.getCharacterPictures(id); //will return pictures of the given character id

await charaClient.searchCharacter(query); //will search the given character. You can also pass several options. You can check it out at here - https://github.com/ShineiIchijo/Marika/blob/main/src/typings/searchOptions.ts#L19

await charaClient.getTopCharacters(); //will return ranking of characters in MyAnimeList. You can also query the page. Example - await charaClient.getTopCharacters({ query: page_number })
You might also like...

Solid component and library for LiveKit (unofficial)

 Solid component and library for LiveKit (unofficial)

This package provides Solid components that makes it easier to use LiveKit in a Solid app. Inspired completely by https://github.com/livekit/livekit-r

Mar 8, 2022

An unofficial(yet) implementation of Chakra Ui for SvelteJS

Welcome to chakra-ui-svelte 👋 An implementation of Chakra Ui in Svelte Homepage Demo Install pnpm install chakra-ui-svelte import { Box } from "chakr

Dec 31, 2022

Zork - Unofficial TypeScript Version

Zork - Unofficial TypeScript Version

Zork - Unofficial TypeScript Version Zork was directly inspired by the first text adventure game, Colossal Cave Adventure, written in 1975. Zork disti

Jul 31, 2022

⌛ Unofficial archive of old Scratch projects

Unofficial archive of old Scratch projects Due to the Scratch Team planning to remove the ability to view unshared projects (LLK/scratch-www#6773), I

Oct 7, 2022

Unofficial Library for using Discord.JS with JSX Syntax.

@chooks22/discord.jsx WARNING! This project is in very early stage of development. And while I do have plans to finish it to completion, consider this

Nov 14, 2022

A Chinese unofficial documents site.

Grasscutter Documention | 割草机文档 This website is built using Docusaurus 2, a modern static website generator. 此网页使用Docusaurus 2创建,这是一个现代化网页生成器 English

Dec 3, 2022

Unofficial port of the Sentry SDK for JavaScript to Deno.

Sentry_deno This is an unofficial port of the Sentry SDK (@sentry/browser) to Deno. import * as Sentry from "https://deno.land/x/sentry_deno/main.ts";

Aug 11, 2022

A simple (and unofficial) GitHub Trending client that lives in your menubar.

A simple (and unofficial) GitHub Trending client that lives in your menubar.

Raise A simple (and unofficial) GitHub Trending client that lives in your menubar. 📸 Screenshots 🖥 Installation New!! Raise is now available as a Ch

Dec 20, 2022

Unofficial Chapa Payment Implementation with Express.js

Chapa Payment Integration This is Unofficial implementation of payment with Chapa API using expressjs Getting started To get the Node server running l

Nov 7, 2022
Comments
  • Version 2.0.4 on npm is empty

    Version 2.0.4 on npm is empty

    I used npm pack @shineiichijo/marika to download v2.0.4 from the NPM registry:

    PS C:\Users\josh\Downloads> npm pack @shineiichijo/marika
    npm notice
    npm notice package: @shineiichijo/[email protected]
    npm notice === Tarball Contents ===
    npm notice 1.1kB LICENSE
    npm notice 6.6kB README.md
    npm notice 1.3kB package.json
    npm notice === Tarball Details ===
    npm notice name:          @shineiichijo/marika
    npm notice version:       2.0.4
    npm notice filename:      @shineiichijo/marika-2.0.4.tgz
    npm notice package size:  2.6 kB
    npm notice unpacked size: 9.0 kB
    npm notice shasum:        b4b34613e923ef8e1f891ee34124985d0108e028
    npm notice integrity:     sha512-n/cLla8IRShq8[...]hK39c3lX4hFxA==
    npm notice total files:   3
    npm notice
    shineiichijo-marika-2.0.4.tgz
    

    The resulting tarball only contains 3 files: LICENSE, README.md, and package.json. There are no .js or .d.ts files included, so the package is functionally empty.

    opened by JoshuaWalsh 1
Releases(2.0.0)
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Unofficial API client for the Tidbyt API. Use this client to control Tidbyt devices and integrate with other services.

Tidbyt Client for Node.js Unofficial API client for the Tidbyt API. Use this client to control Tidbyt devices and integrate with other services. Insta

Nicholas Penree 19 Dec 17, 2022
A unofficial Node.js library for HoYoWiki API, can get the details of Genshin Impact items!

HoYoWiki API (Node.js Library) English | 繁體中文 | 简体中文 A unofficial Node.js library for HoYoWiki API, can get the details of Genshin Impact items! Repor

張文相 Wenxiang Zhang (旋風之音 GoneTone) 5 Jul 17, 2022
An unofficial companion tool created for use alongside PhotoPrism to enable API endpoints and automation.

PhotoPrism Helper PhotoPrism Helper is an unofficial companion tool created for use alongside PhotoPrism. This project isn't associated with the Photo

Ryan Miller 9 Dec 25, 2022
An unofficial wrapper for the Bloxlink API using Node.js

Bloxlink API wrapper ?? Bloxlink-sdk is a simple, easy to use API wrapper for Bloxlinks API using Node.js. Anyone who can use code should be fairly co

Callum Sequoia 3 Oct 21, 2022
An unofficial, simplified version of the @Shopify/koa-shopify-auth middleware library.

simple-koa-shopify-auth https://www.npmjs.com/package/simple-koa-shopify-auth NOTE: This package is not maintained by or affiliated with Shopify. Desc

David 20 Nov 7, 2022
This is an unofficial front end for Hacker News, reminiscent of the Windows XP era Outlook email client on a Windows XP default desktop

Hacker XP Hacker News styled as the Windows XP Outlook email client. Try out Hacker XP here! Description This is an unofficial front end for Hacker Ne

null 19 Jul 12, 2022
Unofficial HelmRelease search through awesome k8s-at-home projects

k8s at home search (unofficial) Search Flux HelmReleases through awesome k8s-at-home projects, check it out at https://whazor.github.io/k8s-at-home-se

Nanne 92 Jan 2, 2023
Unofficial WhatsApp Linux client built with Electron.

WhatsApp Desktop for Linux (unofficial) WhatsApp Linux client built with Electron. As WhatsApp doesn't compile the official app for Linux, here is an

Alberto Mimbrero 39 Jan 3, 2023