# Simple example of retrieving JSON feeds from Blogger Data API

### Introduction

This sample demonstrates displaying a list of recent posts from a blog hosted on Blogger Beta
using the JSON output format provided by the Blogger Data API. This allows you to query a blog's
public feed and get the resulting entries returned as JSON objects. To use the new JSON feed,
create a script element whose `src` value is
> `https://blogname.blogspot.com/feeds/posts/default?alt=json-in-script&callback=myFunc`

where **`blogname`** is the blog you want to retrieve, and
**`myFunc`** is the name of your callback function that is passed the JSON object.
For more information on JSON output support for Google Data APIs please see our
[JSON output support documentation](https://developers.google.com/gdata/json).

### Demo with data from googlemapsapi.blogspot.com