How To use Blogger API v3 to use Blogger content in Client Applications?


Blogger API v3


Do you like to blog? get the amazing Google Blogger API. It is used to create good Blogger Client Applications of your own! Apps builder allows external applications to update and it can also view Blogger Content. Your client apps can also use Blogger API v3 to create a new post on your Blog. It also help to edit or delete existing posts, and queries. it can also be use to create desktop and mobile act.

Tips about Blogger API and how it can help you

An Application Package Interface ( API ) is a set of commands you can interface, or call with, from an external application. It helps a developer of an app to provide APIs if they want others (developer) to create application and interact with their own,

 What API can do:
  • It helps to add pages, post and comments from your blog to a non-blogger website
  • It can also Create desktop software that will allow users Edit or create post to their blog from their desktop computer.
  • It can also Create browser and mobile-based apps. This apps can serve the same purpose as above.

Basics

Lets know some objects and resources available in the API . There are five types of resources currently available.
  • Blogs - This represents a full blogger blog. It is possible for a user to operate more than one blog but it can be controlled by blog resources. you can use it to get a single blog by its ID.
  • Posts - This represent a post on a blog, and each of the post is a child of the blog resource.
  • Comments - This represents a comment on your post, while the comment collection is a combination of all comment on your post.
  • Pages - This are the static pages on your blog (as child objects).
  • Users - This are registered authors of the blog. This people are allowed to post on the blog.
Blogger resource hierarchy

API Reference

Check out the list of methods  described in the Blogger API v3 reference.

Operation              Description                      REST HTTP mappings
listLists all resources within a collectionGET on a collection URI
getGets a specific resourceGET on a resource URI
getByUrlGets a resource, looking it up by URLGET with the URL passed in as a parameter
getByPathGets a resource by looking it up by its pathGET with the Path passed in as a parameter
listByUserLists resources owned by a UserGET on a user owned collection
searchSearch for resources, based on a query parameterGET on a Search URL, with the query passed in as a parameter
insertCreate a resource in a collectionPOST on a collection URI
deleteDeletes a resourceDELETE on a resource URI
patchUpdate a resource, using Patch semanticsPATCH on a resource URI
updateUpdate a resourcePUT on a resource URI

The following table matches the resource types in the API (which we discussed earlier) with the methods they support.

Also see : Customize Labels Cloud in Blogger

Resource TypeSupported Methods

listgetgetByUrlgetByPathlistByUsersearchinsertdeletepatchupdate
Blogs
Posts
Comments
Pages
Users

Note: This method can be used to develop a fully functional blog app. We have different ways of using this method. You can use JavaScript or HTTP clint-side command. Any of the following below can also be used for client libaries:

  • .NET
  • Java
  • PHP
  • Python
  • Ruby
  • Go
  • GWT
  • JavaScript
  • Node.js
  • Objective-C

Thanks for reading..
Author: Clement Bright 
To Contribute to this, Kindly comment below

0 comments:

Post a Comment

Disclaimer: Opinions expressed in comments are those of the comment writers alone and does not reflect or represent the views of Bright Clement. info call or whatsapp +2348166575765