Created
August 20, 2010 22:43
-
-
Save jgeewax/541349 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> 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