A simple python wrapper for the Azure Bing Search API.
Project description
Extremely thin python wrapper for Microsoft Azure Bing Search API.
Usage
=====
Just remember to set the `API_KEY` as your own.
>>> import bingsearch
>>> bingsearch.API_KEY='Your-Api-Key-Here'
>>> r = bingsearch.request("Python Software Foundation")
>>> r.status_code
200
>>> r[0]['Description']
u'Python Software Foundation Home Page. The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to ...'
>>> r[0]['Url']
u'http://www.python.org/psf/
Usage
=====
Just remember to set the `API_KEY` as your own.
>>> import bingsearch
>>> bingsearch.API_KEY='Your-Api-Key-Here'
>>> r = bingsearch.request("Python Software Foundation")
>>> r.status_code
200
>>> r[0]['Description']
u'Python Software Foundation Home Page. The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to ...'
>>> r[0]['Url']
u'http://www.python.org/psf/
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size bingsearch-0.1-py2.7.egg (2.3 kB) | File type Egg | Python version 2.7 | Upload date | Hashes View hashes |
Filename, size bingsearch-0.1.tar.gz (1.9 kB) | File type Source | Python version None | Upload date | Hashes View hashes |