Learn R Programming

datamart (version 0.5.2)

Blogger-class: Location Class for Google's Blogger service

Description

This class implements a small subset of the blogger API v3. The meta method provides information on the submitted blogposts. The put method accepts a BlogPostTarget that can be transfered to Blogger.

Instantiates an object and authenticates with google. If the provided oauthfile parameter points to an existing file, the authentication information is loaded by read.google.oauth2, and the client_id and client_secret information are ignored. If oauthfile is missing, an initial authentication (directing the user to an website) is performed by google.oauth2.

Usage

blogger(oauthfile = getOption("blogger.oauthfile"), client_id = getOption("datamart.client_id"), client_secret = getOption("datamart.client_secret"), blogurl = getOption("blogger.blog"), clss = "Blogger")

Arguments

oauthfile
filename of previously saved authentication information.
client_id
client_id. See google.oauth2
client_secret
client_secret. See google.oauth2
blogurl
URL of the (existing) blog. Defaults to getOption("blogger.blog").
clss
name of the class for convenient inheritance. Defaults to "Blogger".

Value

Blogger

References

Blogger

See Also

blogger, mdreport

Examples

Run this code
getSlots("Blogger")

Run the code above in your browser using DataLab