PHP 클래스 DirkGroenen\Pinterest\Pinterest

파일 보기 프로젝트 열기: dirkgroenen/pinterest-api-php 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$auth DirkGroenen\Pinterest\Auth\PinterestOAuth Reference to authentication class instance
$request DirkGroenen\Pinterest\Transport\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

메소드 상세

__construct() 공개 메소드

Constructor
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

__get() 공개 메소드

Get an Pinterest API endpoint
public __get ( string $endpoint ) : mixed
$endpoint string
리턴 mixed

getRateLimit() 공개 메소드

Get rate limit from the headers
public getRateLimit ( ) : integer
리턴 integer

getRateLimitRemaining() 공개 메소드

Get rate limit remaining from the headers
public getRateLimitRemaining ( ) : mixed
리턴 mixed

프로퍼티 상세

$auth 공개적으로 프로퍼티

Reference to authentication class instance
public PinterestOAuth,DirkGroenen\Pinterest\Auth $auth
리턴 DirkGroenen\Pinterest\Auth\PinterestOAuth

$request 공개적으로 프로퍼티

A reference to the request class which travels through the application
public Request,DirkGroenen\Pinterest\Transport $request
리턴 DirkGroenen\Pinterest\Transport\Request