Moved to use urlfetch library from google app engine instead of urllib2. Changes to support pagination with next_page_token. In addition I added support for language and opennow parameters in the query.