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

Are you a developer who likes to blog? You can use the Google Blogger API to create amazing Blogger client applications of your own! The ...



Blogger API v3

Are you a developer who likes to blog? You can use the Google Blogger API to create amazing Blogger client applications of your own! The Blogger API v3 allows external applications to view and update Blogger content. Your client application can use Blogger API v3 to create new blog posts, edit or delete existing posts, and query for posts that match particular criteria. You can use this API to create desktop and browser apps and create a whole new user-base of your own.


What is the Blogger API and what can you do with it?



An API, or Application Package Interface is a set of commands you can call, or interface with, from an external application. The developers of an application provides APIs if they want other developer to create apps and interact with their own.




Similarly, the Blogger team has created an API of its own that allows external developers to interact with the Blogger content management system. With this API, you can;


  • Add posts, pages and comments from your Blogger blog to a non-blogger website

  • Create desktop software that allows users to create or edit Blogger posts from their desktop computers

  • Create browser and mobile-based apps that serve the same purpose as above



Basics



First, you need to know some of the basics of objects and resources available in the API. There are five types of resources currently available.


  • Blogs - A blog resource represents a full Blogger blog. A user may have more than one Blogger blogs, so the control of multiple blogs is handled by the blogs resource. You can use it to list all the blogs a user has access to, or get a single blog by its ID.

  • Posts - A post resource represents a post on a blog, and each is a child of the blog resource. A posts collection contains all the post resources within a blog resource.

  • Comments - A comment resource represents a comment on a blog post, and is logically a child object of the respective post resource. A comments collection is a list of all comments under a posts (parent) resource.

  • Pages - A blog has static pages which inherit from the blog (as child objects).

  • Users - A user resource represents a non-anonymous user, and is used to identify the author of a blog post, page, or comment. A users collection is a list of all the (global) user resources on Blogger. For privacy reasons, a list of all the users on Blogger cannot be listed. However, you can retrieve your own user resource by your unique ID (or by using the self identifier)



Blogger resource hierarchy





API Reference



Here is a list of methods as described in the Blogger API v3 reference.















Operation Description REST HTTP mappings
list Lists all resources within a collection GET on a collection URI
get Gets a specific resource GET on a resource URI
getByUrl Gets a resource, looking it up by URL GET with the URL passed in as a parameter
getByPath Gets a resource by looking it up by its path GET with the Path passed in as a parameter
listByUser Lists resources owned by a User GET on a user owned collection
search Search for resources, based on a query parameter GET on a Search URL, with the query passed in as a parameter
insert Create a resource in a collection POST on a collection URI
delete Deletes a resource DELETE on a resource URI
patch Update a resource, using Patch semantics PATCH on a resource URI
update Update a resource PUT on a resource URI




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












Resource Type Supported Methods
list get getByUrl getByPath listByUser search insert delete patch update
Blogs
Posts
Comments
Pages
Users




You can use these methods to develop a fully functional Blogger app. There are various ways of invoking these methods. You can use HTTP client-side commands, or from JavaScript. You can also develop using client libraries on any one of the following platforms.




  • .NET

  • Java

  • PHP

  • Python

  • Ruby

  • Go

  • GWT

  • JavaScript

  • Node.js

  • Objective-C





We will talk more about these client libraries, and calling methods in a future post. In the meantime, if you have any questions regarding the functionality of this API or its methods, please feel free to ask in the comments section below. Cheers :)

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,69,Blogging tips,198,Bugs and Errors,34,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,305,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
SEO and SEM Guide For Bloggers: How To use Blogger API v3 to use Blogger content in Client Applications?
How To use Blogger API v3 to use Blogger content in Client Applications?
http://2.bp.blogspot.com/-hlDCYPW4CHQ/Ut_f6-3YNPI/AAAAAAAAFM0/q4NR1dfPhDE/s1600/create-apps-with-blogger-api.jpg
http://2.bp.blogspot.com/-hlDCYPW4CHQ/Ut_f6-3YNPI/AAAAAAAAFM0/q4NR1dfPhDE/s72-c/create-apps-with-blogger-api.jpg
SEO and SEM Guide For Bloggers
https://www.experiencelab.info/2014/01/how-to-use-blogger-api-v3-to-use.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2014/01/how-to-use-blogger-api-v3-to-use.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy