Skip to content

Instantly share code, notes, and snippets.

@jgeewax
Created August 20, 2010 22:43
Show Gist options
  • Save jgeewax/541349 to your computer and use it in GitHub Desktop.
Save jgeewax/541349 to your computer and use it in GitHub Desktop.
>>> from pybing.query import WebQuery
>>> query = WebQuery('<your AppId here>', query='python bing')
>>> results = query.execute()
>>> for result in results[:10]:
>>> print repr(result.title)
>>>
u'Python Wrapper on Bing API \u2014 The Uswaretech Blog - Django Web ... '
u'PyUnit - the standard unit testing framework for Python'
u'How to transmit arguments from c++ to python '
u'Python Package Index : PyPI'
u'pythons definition | Dictionary.com '
u'Python Package Index : bingapi 0.01'
u'Newbie: About PyRun_File() '
u'Python - Mahalo'
u'I Like Chinese - Wikipedia, the free encyclopedia'
u'readme.txt - gmmreg - Google Code'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment