SevenShores\Hubspot\Resources\Blogs::all PHP Method

all() public method

Get all blogs.
public all ( array $params = [] ) : Response
$params array Optional parameters ['limit', 'offset', 'created', 'deleted_at', 'name']
return SevenShores\Hubspot\Http\Response
    function all($params = [])
    {
        $endpoint = 'https://api.hubapi.com/content/api/v2/blogs';
        $queryString = build_query_string($params);
        return $this->client->request('get', $endpoint, [], $queryString);
    }