PHP Class seregazhuk\PinterestBot\Api\Providers\Topics

Inheritance: extends Provider, use trait seregazhuk\PinterestBot\Api\Traits\Followable, use trait seregazhuk\PinterestBot\Api\Traits\HasRelatedTopics, use trait seregazhuk\PinterestBot\Api\Traits\HasFeed
Show file Open project: seregazhuk/php-pinterest-bot Class Usage Examples

Protected Properties

Property Type Description
$entityIdName
$followUrl
$loginRequiredFor array
$unFollowUrl

Public Methods

Method Description
info ( string $topic ) : array | boolean Get category info
pins ( string $interest, integer $limit = Pagination::DEFAULT_LIMIT ) : Pagination Returns a feed of pins.

Method Details

info() public method

Get category info
public info ( string $topic ) : array | boolean
$topic string
return array | boolean

pins() public method

Returns a feed of pins.
public pins ( string $interest, integer $limit = Pagination::DEFAULT_LIMIT ) : Pagination
$interest string
$limit integer
return seregazhuk\PinterestBot\Helpers\Pagination

Property Details

$entityIdName protected property

protected $entityIdName

$followUrl protected property

protected $followUrl

$loginRequiredFor protected property

protected array $loginRequiredFor
return array

$unFollowUrl protected property

protected $unFollowUrl