Skip to content

$mangaCharInfo

Syntax

$mangaCharInfo[mangaID;character;result]

Usage

OptionTypeOptionalExample
Manga IDNumberfalseThe ID of anime as in MAL
CharacterStringfalseName of the character you are searching for (must be in the specified manga)
ResultStringfalseResult to return. Refer the table below

Use like: $mangaCharInfo[$getID[manga_name];character_name;result_type]

Result Table

OptionOutput
nameReturns the name of character
urlReturns the URL of character in MAL website
imageReturns image of character
nicknamesReturns the nicknames of the character
mangaReturns the manga of which character is part of
descriptionReturns a short description about the character
roleReturns role of character, either main or supporting

Example

$mangaCharInfo[$getID[oshi no ko;manga];Ruby;image] // returns the image of 'Ruby' of 'Oshi no ko' manga