프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$auth | Reference to authentication class instance | ||
$request | A reference to the request class which travels through the application |
메소드 | 설명 | |
---|---|---|
__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 getRateLimitRemaining ( ) : mixed | ||
리턴 | mixed |
public PinterestOAuth,DirkGroenen\Pinterest\Auth $auth | ||
리턴 |