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

getById() public method

Get information about a specific blog.
public getById ( string $id ) : Response
$id string
return SevenShores\Hubspot\Http\Response
    function getById($id)
    {
        $endpoint = "https://api.hubapi.com/content/api/v2/blogs/{$id}";
        return $this->client->request('get', $endpoint);
    }