Skip to content

GetMagazine

Bartłomiej Buchała edited this page Sep 11, 2019 · 2 revisions

GetMagazine

Returns information about magazinewith given MAL id. This method parses item data by ID from https://myanimelist.net/manga/magazine/{ID}/

Parameters

GetMagazine(Int64 id)

Type Name Summary
Int64 id MAL id of the magazine.

GetMagazine(Int64 id, Int32 page)

Type Name Summary
Int64 id MAL id of the magazine.
Int32 page Index of page folding 100 records of top ranging (e.g. 1 will return first 100 records, 2 will return record from 101 to 200 etc.)

Usage

// Initialize JikanWrapper
IJikan jikan = new Jikan();

// Send request for "Young Animal" magazine.
Magazine magazine = await jikan.GetMagazine(2);

// Output -> "Young Animal"
Console.WriteLine(magazine.Metadata.Name);

// Print title of each manga of the first 100 mangas of "Young Animal"
foreach (var manga in magazine.Manga)
{
	Console.WriteLine(manga.Title);
}

// Send request for "Shonen Jump" (and their manga listed on positions 101-200)
magazine = await jikan.GetMagazine(83, 2);

Magazine Properties

GetMagazine request return an Magazine object. Schema:

Type Name Summary
ICollection<MangaSubEntry> Manga List of manga published in magazine.
MALSubItem Metadata Metadata about magazine.

Manga is a collection of MangaSubEntry, which type for anime entry used in genres and magazine requests. Check schema page for more details.

Metadata contains basic information about magazine, such as name and mal id. Check schema of MALSubItem here.

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