Skip to content

GetPeopleTop

Bartłomiej Buchała edited this page Dec 3, 2018 · 1 revision

GetPeopleTop

Returns list of most popular people. This method parses item data by ID from https://myanimelist.net/people.php

Parameters

GetPeopleTop()

No parameters.

GetPeopleTop(Int32 page )

Type Name Summary
Int32 page Index of page folding 50 records of top ranging (e.g. 1 will return first 50 records, 2 will return record from 51 to 100 etc.)

Usage

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

// Send request for most popular people on MAL
PeopleTop topPeopleList = await jikan.GetPeopleTop();

// Print rank and name of each person in top 50.
foreach (var listEntry in topPeopleList.Top)
{
	Console.WriteLine(listEntry.Rank + ". " + listEntry.Name);
}

// Send request for second page (positions 51 - 100) of most popular people
topPeopleList = await jikan.GetPeopleTop(2);

PeopleTop Properties

GetPeopleTop request return an PeopleTop object. Schema:

Type Name Summary
ICollection<PersonTopEntry> Top Collection of people entries on top list.

Each of properties is a collection of PersonTopEntry, which type for person entry used in rankings. 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