Method |
Description |
|
create ( string $name, string $description, string $privacy = self::BOARD_PRIVACY_PUBLIC ) : boolean |
Create a new board. |
|
createPrivate ( string $name, string $description ) : boolean |
Create a new board. |
|
forUser ( string $username ) : array | boolean |
Get boards for user by username. |
|
getPinsFromBoard ( integer $boardId, array $bookmarks = [] ) : seregazhuk\PinterestBot\Api\Contracts\PaginatedResponse |
|
|
info ( string $username, string $board ) : array | boolean |
Get info about user's board. |
|
pins ( integer $boardId, integer $limit = Pagination::DEFAULT_LIMIT ) : Pagination |
Get pins from board by boardId. |
|
send ( integer $boardId, string $text, array | string $userIds, array | string $emails ) : boolean |
Send board with message or by email. |
|
sendWithEmail ( integer $boardId, string $text, array | string $emails ) : boolean |
Send board with emails. |
|
sendWithMessage ( integer $boardId, string $text, array | string $userIds ) : boolean |
Send board with messages. |
|
titleSuggestionsFor ( string $pinId ) : array | boolean |
Returns title suggestions for pin. |
|
update ( $boardId, $attributes ) : mixed |
Update board info. Gets boardId and an associative array as params. Available keys of the array are:
'category', 'description', 'privacy'. |
|