Property | Type | Description | |
---|---|---|---|
$loginRequiredFor | array | List of methods that require logged status. | |
$request | Instance of the API Request. | ||
$response |
Method | Description | |
---|---|---|
__construct ( |
||
checkMethodRequiresLogin ( string $method ) : boolean | ||
getEntityIdName ( ) : string | ||
getPaginatedData ( array $data, string $url, array $bookmarks = [] ) : |
Executes pagination GET request. | |
isLoggedIn ( ) : boolean |
Method | Description | |
---|---|---|
execGetRequest ( array $requestOptions = [], string $resourceUrl = '' ) : array | boolean | Executes a GET request to Pinterest API. | |
execGetRequestWithPagination ( array $requestOptions, string $resourceUrl, array $bookmarks = [] ) : |
Executes a GET request to Pinterest API with pagination. | |
execPostRequest ( array $requestOptions, string $resourceUrl, boolean $returnResponse = false ) : |
Executes a POST request to Pinterest API. | |
execute ( $url, string $postString = "" ) | ||
processResult ( string $res ) : |
public __construct ( |
||
$request | ||
$response |
public checkMethodRequiresLogin ( string $method ) : boolean | ||
$method | string | |
return | boolean |
protected processResult ( string $res ) : |
||
$res | string | |
return |
protected array $loginRequiredFor | ||
return | array |
protected Request,seregazhuk\PinterestBot\Api $request | ||
return |