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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bingsearch-0.1.tar.gz
(1.9 kB
view hashes)
Built Distribution
bingsearch-0.1-py2.7.egg
(2.3 kB
view hashes)