Skip to content

GetCharacterPictures

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

GetCharacterPictures

Returns collections of links to pictures related to character with given MAL id. This method parses item data by ID from https://myanimelist.net/character/{id}/pics

Parameters

GetCharacterPictures(Int64 id)

Type Name Summary
Int64 id MAL id of the character.

Usage

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

// Send request for pictures of Spike Spiegel.
CharacterPictures spikePics = jikan.GetCharacterPictures(1).Result;

// Print link to every picture.
foreach (Picture picture in spikePics.Pictures)
{
	Console.WriteLine(picture.Large); ;
}

CharacterPictures Object Properties

Type Name Summary
ICollection<Picture> Pictures Character's extra image URLs.

Each Picture in collection contains link to small and large version. Picture class schema:

Type Name Summary
String Large Url to large version of the picture.
String Small Url to small version of the picture.

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