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

all() public method

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