Lndj\Lcrawl::getSchedule PHP Method

getSchedule() public method

Get the schedule data
public getSchedule ( ) : Array
return Array
    public function getSchedule()
    {
        /**
         * Default: get the current term schedule data by GET
         * If you want to get the other term's data, use POST
         * TODO: use POST to get other term's data
         */
        $response = $this->buildGetRequest(self::ZF_SCHEDULE_URI, [], $this->headers);
        return $this->parserSchedule($response->getBody());
    }