DirkGroenen\Pinterest\Endpoints\Pins::fromBoard PHP Method

fromBoard() public method

Get all pins from the given board
public fromBoard ( string $board_id, array $data = [] ) : DirkGroenen\Pinterest\Models\Collection
$board_id string
$data array
return DirkGroenen\Pinterest\Models\Collection
    public function fromBoard($board_id, array $data = [])
    {
        $response = $this->request->get(sprintf("boards/%s/pins", $board_id), $data);
        return new Collection($this->master, $response, "Pin");
    }