public class Blogger extends 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 String |
DEFAULT_BASE_URL
The default encoded base URL of the service.
|
static String |
DEFAULT_BATCH_PATH
The default encoded batch path of the service.
|
static String |
DEFAULT_MTLS_ROOT_URL
The default encoded mTLS root URL of the service.
|
static String |
DEFAULT_ROOT_URL
The default encoded root URL of the service.
|
static String |
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
|
Constructor and Description |
---|
Blogger(HttpTransport transport,
JsonFactory jsonFactory,
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(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, getObjectParser
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks
public static final String DEFAULT_ROOT_URL
public static final String DEFAULT_MTLS_ROOT_URL
public static final String DEFAULT_SERVICE_PATH
public static final String DEFAULT_BATCH_PATH
public static final String DEFAULT_BASE_URL
public Blogger(HttpTransport transport, JsonFactory jsonFactory, 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.UrlFetchTransport
newCompatibleTransport
from
com.google.api.client.extensions.android.http.AndroidHttp
GoogleNetHttpTransport
jsonFactory
- JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactory
com.google.api.client.json.gson.GsonFactory
com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer
- HTTP request initializer or null
for noneprotected void initialize(AbstractGoogleClientRequest<?> httpClientRequest) throws IOException
initialize
in class AbstractGoogleClient
IOException
public 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 ...)
Copyright © 2011–2022 Google. All rights reserved.