Метод |
Описание |
|
activity ( string $pinId, integer $limit = Pagination::DEFAULT_LIMIT ) : Iterato\Iterator | array |
Get the latest pin activity with pagination. |
|
copy ( array | string $pinIds, integer $boardId ) : boolean | Response |
Copy pins to board |
|
create ( string $imageUrl, integer $boardId, string $description = '', string $link = '' ) : array |
Create a pin. Returns created pin info. |
|
deleteFromBoard ( string | array $pinIds, integer $boardId ) : boolean |
Delete pins from board. |
|
edit ( integer $pindId, string $description = '', string $link = '', integer | null $boardId = null ) : boolean |
Edit pin by ID. You can move pin to a new board by setting this board id. |
|
feed ( integer $limit = Pagination::DEFAULT_LIMIT ) : Pagination |
Get pins from user's feed |
|
fromSource ( string $source, integer $limit = Pagination::DEFAULT_LIMIT ) : Pagination |
Get pins from a specific url. For example: https://pinterest.com/source/flickr.com/ will
return recent Pins from flickr.com |
|
info ( string $pinId ) : array | boolean |
Get information of a pin by PinID. |
|
like ( string $pinId ) : boolean |
Likes pin with current ID. |
|
move ( string | array $pinIds, integer $boardId ) : boolean | Response |
|
|
moveToBoard ( integer $pindId, integer $boardId ) : boolean |
Moves pin to a new board |
|
related ( string $pinId, integer $limit = Pagination::DEFAULT_LIMIT ) : Pagination |
|
|
repin ( integer $repinId, integer $boardId, string $description = '' ) : array |
Make a repin. |
|
saveOriginalImage ( integer $pinId, string $path ) : false | string |
Saves the pin original image to the specified path. On success
returns full path to saved image. Otherwise returns false. |
|
send ( string $pinId, string $text, array | string $userIds, array | string $emails ) : boolean |
Send pin with message or by email. |
|
sendWithEmail ( integer $pinId, string $text, array | string $emails ) : boolean |
Send pin with emails. |
|
sendWithMessage ( integer $pinId, string $text, array | string $userIds ) : boolean |
Send pin with messages. |
|
unLike ( string $pinId ) : boolean |
Removes your like from pin with current ID. |
|
visualSimilar ( string $pinId, array $crop = [] ) : array | boolean |
|
|