seregazhuk\PinterestBot\Api\Providers\Provider::execGetRequest PHP Method

execGetRequest() protected method

Executes a GET request to Pinterest API.
protected execGetRequest ( array $requestOptions = [], string $resourceUrl = '' ) : array | boolean
$requestOptions array
$resourceUrl string
return array | boolean
    protected function execGetRequest(array $requestOptions = [], $resourceUrl = '')
    {
        $query = Request::createQuery($requestOptions);
        $this->execute($resourceUrl . "?{$query}");
        return $this->response->getResponseData();
    }