json and blogger

Today I decided to learn about json. To help me with this I coded a little python script I call blogger-updates.py. It takes the name of a blogger blog and optionally a number designating the number of entries to retrieve. I used Google’s blogger api to get the data. Updated to account for non numeric input when setting max entries. import json import sys import urllib2 def usage(): print sys.argv[0], 'blogname [max-results]' print ' Gets blog updates from blogger....

December 14, 2008 · John