Introduction
The Blogger Data API allows client applications to view and update Blogger content in the form of Google Data API feeds. Your client application can use the Data API to create new blog posts, edit or delete existing posts, and query for posts that match particular more.
Purpose
We can use a blog post from the API and use it on the website or any other application. First, we need to get access from Google for accessing the Google Blogger API.
API Access
Here is the URL; with the help of the URL, you can get access from Google.
https://code.google.com/apis/console
Once you have obtained access from Google, you will get mail from Google. Then you will see the above window. Now download the Google Data API library from the .NET client library. Install the .Net Client library on your machine.
Code
Now download sample code files that are written in C# from here. Create a new Console Application project In Visual Studio. Add a reference for Google.GData.Client.dll from C:\Program Files\Google\Google Data API SDK\Samples.
Now copy the cs file code from here paste it into the console application and try to run it. It will ask for your Google credentials. Go to the project properties and give your credentials.
Now run your application and see the result.
My Websites
- http://blog.iquestionanswer.co.in/
- http://www.iquestionanswer.co.in/
Happy coding.