public class Blogger
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
The Blogger API provides access to posts, comments and pages of a Blogger blog.
For more information about this service, see the API Documentation
This service uses BloggerRequestInitializer to initialize global parameters via its
Blogger.Builder.
| Modifier and Type | Class and Description |
|---|---|
class |
Blogger.Blogs
The "blogs" collection of methods.
|
class |
Blogger.BlogUserInfos
The "blogUserInfos" collection of methods.
|
static class |
Blogger.Builder
Builder for
Blogger. |
class |
Blogger.Comments
The "comments" collection of methods.
|
class |
Blogger.Pages
The "pages" collection of methods.
|
class |
Blogger.PageViews
The "pageViews" collection of methods.
|
class |
Blogger.Posts
The "posts" collection of methods.
|
class |
Blogger.PostUserInfos
The "postUserInfos" collection of methods.
|
class |
Blogger.Users
The "users" collection of methods.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_BASE_URL
The default encoded base URL of the service.
|
static java.lang.String |
DEFAULT_BATCH_PATH
The default encoded batch path of the service.
|
static java.lang.String |
DEFAULT_ROOT_URL
The default encoded root URL of the service.
|
static java.lang.String |
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
|
| Constructor and Description |
|---|
Blogger(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Blogger.Blogs |
blogs()
An accessor for creating requests from the Blogs collection.
|
Blogger.BlogUserInfos |
blogUserInfos()
An accessor for creating requests from the BlogUserInfos collection.
|
Blogger.Comments |
comments()
An accessor for creating requests from the Comments collection.
|
protected void |
initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest) |
Blogger.Pages |
pages()
An accessor for creating requests from the Pages collection.
|
Blogger.PageViews |
pageViews()
An accessor for creating requests from the PageViews collection.
|
Blogger.Posts |
posts()
An accessor for creating requests from the Posts collection.
|
Blogger.PostUserInfos |
postUserInfos()
An accessor for creating requests from the PostUserInfos collection.
|
Blogger.Users |
users()
An accessor for creating requests from the Users collection.
|
getJsonFactory, getObjectParserpublic static final java.lang.String DEFAULT_ROOT_URL
public static final java.lang.String DEFAULT_SERVICE_PATH
public static final java.lang.String DEFAULT_BATCH_PATH
public static final java.lang.String DEFAULT_BASE_URL
public Blogger(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Use Blogger.Builder if you need to specify any of the optional parameters.
transport - HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransportnewCompatibleTransport from
com.google.api.client.extensions.android.http.AndroidHttpcom.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory - JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactorycom.google.api.client.json.gson.GsonFactorycom.google.api.client.extensions.android.json.AndroidJsonFactoryhttpRequestInitializer - HTTP request initializer or null for noneprotected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
throws java.io.IOException
initialize in class com.google.api.client.googleapis.services.AbstractGoogleClientjava.io.IOExceptionpublic Blogger.BlogUserInfos blogUserInfos()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.BlogUserInfos.List request = blogger.blogUserInfos().list(parameters ...)
public Blogger.Blogs blogs()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Blogs.List request = blogger.blogs().list(parameters ...)
public Blogger.Comments comments()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Comments.List request = blogger.comments().list(parameters ...)
public Blogger.PageViews pageViews()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.PageViews.List request = blogger.pageViews().list(parameters ...)
public Blogger.Pages pages()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Pages.List request = blogger.pages().list(parameters ...)
public Blogger.PostUserInfos postUserInfos()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.PostUserInfos.List request = blogger.postUserInfos().list(parameters ...)
public Blogger.Posts posts()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Posts.List request = blogger.posts().list(parameters ...)
public Blogger.Users users()
The typical use is:
Blogger blogger = new Blogger(...);Blogger.Users.List request = blogger.users().list(parameters ...)