Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import yql
- >>> y = yql.Public()
- >>> appid = 't4RpMGDV34GSa2qGuiJ1aC_WG8xmsw6lM5psHclL0Yawu2.wZm1ejtuGSLndPWdx5oyDrDQ-'
- >>> query = 'select * from search.spelling where query="%s" and appid="%s"' % ('janet nopalitano', appid)
- >>> r = y.execute(query)
- >>> r.raw
- {u'count': 0, u'lang': u'en-US', u'results': None, u'created': u'2011-09-01T20:38:10Z'}
Add Comment
Please, Sign In to add comment