Skip to main content

Home/ Python Programming/ Group items tagged json

Rss Feed Group items tagged

Jac Londe

JSON Developer's Guide for the Google Feed API - 0 views

  • Using Python The following code snippet shows how to make a request to the Google Feed API using Python. This sample assumes Python 2.4 or higher. You may need to download and install simplejson. import urllib2import simplejsonurl = ('https://ajax.googleapis.com/ajax/services/feed/find?' +       'v=1.0&q=Official%20Google%20Blog&userip=INSERT-USER-IP')request = urllib2.Request(url, None, {'Referer': /* Enter the URL of your site here */})response = urllib2.urlopen(request)# Process the JSON string.results = simplejson.load(response)# now have some fun with the results...
  •  
    JSON Developer's Guide for the Google Feed API - Google Feed API - Google Developers
1 - 2 of 2
Showing 20 items per page