class Blogs extends Resource (View source)

The "blogs" collection of methods.

Typical usage is:

 $bloggerService = new Google\Service\Blogger(...);
 $blogs = $bloggerService->blogs;

Methods

get(string $blogId, array $optParams = [])

Gets a blog by id. (blogs.get)

getByUrl(string $url, array $optParams = [])

Gets a blog by url. (blogs.getByUrl)

listByUser(string $userId, array $optParams = [])

Lists blogs by user. (blogs.listByUser)

Details

Blog get(string $blogId, array $optParams = [])

Gets a blog by id. (blogs.get)

Parameters

string $blogId
array $optParams

Optional parameters.

Return Value

Blog

Exceptions

Exception

Blog getByUrl(string $url, array $optParams = [])

Gets a blog by url. (blogs.getByUrl)

Parameters

string $url
array $optParams

Optional parameters.

Return Value

Blog

Exceptions

Exception

BlogList listByUser(string $userId, array $optParams = [])

Lists blogs by user. (blogs.listByUser)

Parameters

string $userId
array $optParams

Optional parameters.

Return Value

BlogList

Exceptions

Exception