Demo Application

Learn how to integrate the Blogger API endpoints into a simple Django application.

In this lesson, we'll look at a simple Django-based web application created by integrating Blogger APIs. This application will allow us to view our blogs as well as create and view blog pages and blog posts.

Run the application

Step 1: Click the "Run" button to start the application. Click the URL next to "Your app can be found at:" in the widget below to open the application in a new tab.

Step 2: By default, you'll see the application's homepage with three buttons: "Blogs," "Pages," and "Posts."

  • The "Blogs" button will redirect you to the blogs page where you'll be able to view a list of all the blogs created by the specified user.

  • The "Pages" button will redirect you to a page where you'll be asked to select a blog that you would like to retrieve the blog pages for. After you select the blog from the dropdown and click the "Get Blog Pages" button, you'll be redirected to a new page where you'll be able to view a list of all the blog pages associated with your selected blog. Moreover, you'll be provided with a button to redirect to page creation and a button to redirect back to the homepage.

  • Similarly, the "Posts" button will redirect you to a page where you'll be asked to select a blog that you would like to retrieve the blog posts for. After you select the blog from the dropdown and click the "Get Blog Posts" button, you'll be redirected to the posts page where you'll be able to view a list of all the blog posts associated with your selected blog. Moreover, you'll be provided with a button to redirect to the post creation page and a button to redirect back to the homepage.

You can also switch between pages using the top navigation bar. This bar also provides a button named "User Profile" to redirect to the user profile page.

Application code

Get hands-on with 1200+ tech skills courses.