Skip to content

GetAnimeAsync

Bartłomiej Buchała edited this page Feb 14, 2022 · 1 revision

GetAnime

Return anime with given MAL id. This method parses item data by ID from https://myanimelist.net/anime/{id}

Parameters

GetAnime(Int64 id)

Type Name Summary
Int64 id MAL id of anime.

Usage

// Initialize JikanWrapper
IJikan jikan = new Jikan();
// Send request for "Cowboy Bebop" anime
var cowboyBebop = await jikan.GetAnimeAsync(1);

// Output -> "Cowboy Bebop"
Console.WriteLine(cowboyBebop.Data.Title);
// Output -> "TV"
Console.WriteLine(cowboyBebop.Data.Type);
// Output -> "R - 17+ (violence & profanity)"
Console.WriteLine(cowboyBebop.Data.Rating);

Anime Object Properties

GetAnimeAsync request return an Anime object. Check schema page for more details.

General information

Home Page

Getting started

Using own instance of Jikan

Migrating to version 2.0

Rate limiting

Winforms issue

Methods

Anime

Characters

Club

Manga

People

Rankings

Season

Search

Users

Other

Jikan Metadata

Class Schema

Main Classes

Secondary Classes

Search related classes

Enumerations Schema

Clone this wiki locally