RapidAPI logo

Blogger

FREE
By stefan.skliarov
Updated 6 months ago
News, Media
4.5/10
Popularity Score
284ms
Latency
100%
Success Rate

Blogger API Documentation

Blogger is a blog-publishing service that allows multi-user blogs with time-stamped entries.

View API Details
POSTaddPage
POSTaddPost
POSTapprovePostComment
POSTdeletePost
POSTdeletePostComment
POSTdeleteSinglePage
POSTfullPageUpdate
POSTfullPostUpdate
POSTgetAccessToken
POSTgetBlogById
POSTgetBlogByUrl
POSTgetBlogPageViews
POSTgetBlogUserInfo
POSTgetPostComment
POSTgetSinglePage
POSTgetSinglePostById
POSTgetSinglePostByPath
POSTgetUserInfo
POSTlistBlogComments
POSTlistBlogPages
POSTlistPostComments
POSTlistPostUserInfo
POSTlistPosts
POSTlistUserBlogs
POSTmarkCommentAsSpam
POSTpartPageUpdate
POSTpartPostUpdate
POSTpublishPost
POSTremoveCommentContent
POSTrevertPost
POSTsearchPosts
POSTaddPage

Add a page.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
blogIdSTRING
REQUIREDId of the blog
accessTokenSTRING
REQUIREDAccesss token from Google
Optional Parameters
contentSTRING
OPTIONALPage content
titleSTRING
OPTIONALPage title
isDraftSELECT
OPTIONALIs page draft or not
Code Snippet
unirest.post("https://Bloggerstefan-skliarovV1.p.rapidapi.com/addPage")
.header("X-RapidAPI-Host", "Bloggerstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://Bloggerstefan-skliarovV1.p.rapidapi.com/addPage
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://Bloggerstefan-skliarovV1.p.rapidapi.com/addPage")
.header("X-RapidAPI-Host", "Bloggerstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication