Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

getReview()

Axel Oktavian Antonio edited this page Jan 31, 2019 · 3 revisions

Description

Getting anime or manga review from page like this.

Parameter

Parameter Type Description
id string ID of the review in MyAnimeList

Usage

$myScraper = new MalScraper();

$myReview = $myScraper::getReview(1);
// or
$myReview = $myScraper->getReview(1);

Return

Array data of review data model.

Review Data Model

Property Type Description
id string ID of the review in MyAnimeList
source array An array of source data model
username string User who wrote the review
image string Url to the user image
helpful string Number of user who vote helpful
date array An array with date and time as key value
episode/chapter string Number of episode/chapter the user watched/read
score array An array with score type as key value (overall, story, art, etc)
review string Review content
Source Data Model
Property Type Description
type string Either anime or manga
id string ID of the anime or manga in MyAnimeList
title string Name of the anime or manga
image string Url to the anime or manga image
Clone this wiki locally