Property | Type | Description | |
---|---|---|---|
$auth | Reference to authentication class instance | ||
$request | A reference to the request class which travels through the application |
Method | Description | |
---|---|---|
__construct ( string $client_id, string $client_secret, DirkGroenen\Pinterest\Utils\CurlBuilder $curlbuilder = null ) | Constructor | |
__get ( string $endpoint ) : mixed | Get an Pinterest API endpoint | |
getRateLimit ( ) : integer | Get rate limit from the headers | |
getRateLimitRemaining ( ) : mixed | Get rate limit remaining from the headers |
public __construct ( string $client_id, string $client_secret, DirkGroenen\Pinterest\Utils\CurlBuilder $curlbuilder = null ) | ||
$client_id | string | |
$client_secret | string | |
$curlbuilder | DirkGroenen\Pinterest\Utils\CurlBuilder |
public getRateLimit ( ) : integer | ||
return | integer |
public getRateLimitRemaining ( ) : mixed | ||
return | mixed |
public PinterestOAuth,DirkGroenen\Pinterest\Auth $auth | ||
return |