Свойство | Type | Description | |
---|---|---|---|
$loginRequiredFor | array | List of methods that require logged status. | |
$request | Instance of the API Request. | ||
$response |
Méthode | Description | |
---|---|---|
__construct ( |
||
checkMethodRequiresLogin ( string $method ) : boolean | ||
getEntityIdName ( ) : string | ||
getPaginatedData ( array $data, string $url, array $bookmarks = [] ) : |
Executes pagination GET request. | |
isLoggedIn ( ) : boolean |
Méthode | 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 | |
Résultat | boolean |
protected processResult ( string $res ) : |
||
$res | string | |
Résultat |
protected array $loginRequiredFor | ||
Résultat | array |
protected Request,seregazhuk\PinterestBot\Api $request | ||
Résultat |