This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
getPeople()
Axel edited this page Oct 10, 2018
·
5 revisions
Getting people information from page like this.
Parameter | Type | Description |
---|---|---|
id | integer | ID of the people |
$myScraper = new MalScraper();
$myPeopleInfo = $myScraper::getPeople(1);
// or
$myPeopleInfo = $myScraper->getPeople(1);
Array data of people data model.
Property | Type | Description |
---|---|---|
id | string | ID of the people in MyAnimeList |
name | string | Name of the people |
image | string | URL to the people image |
given_name | string | Given name of the people |
family_name | string | Family name of the people |
alternative_name | array | An array of their alternative name |
birthday | string | Birth date of the people |
website | string | URL of their website |
favorite | string | How many users favorite the people |
more | string | More data about the people |
va | array | An array of voice actor data model |
staff | array | An array of common data model |
published_manga | array | An array of common data model |
Property | Type | Description |
---|---|---|
anime | array | An array of anime data model |
character | array | An array of character data model |
Property | Type | Description |
---|---|---|
image | string | URL to anime image |
id | string | ID of the anime in MyAnimeList |
title | string | Title of the anime |
Property | Type | Description |
---|---|---|
image | string | URL to character image |
id | string | ID of the character in MyAnimeList |
name | string | Name of the character |
role | string | Role of the character in the anime |
Property | Type | Description |
---|---|---|
image | string | URL of the image |
id | string | ID of the anime or manga in MyAnimeList |
title | string | Title of the anime or manga |
role | string | Role of the people |
Mal-scraper Wiki
- Wiki Home
- Installation and Usage
-
Method and Response
- General
- Additional Information
- List
- Search
- Seasonal
- Top List
- User