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 details)
Built Distribution
bingsearch-0.1-py2.7.egg
(2.3 kB
view details)
File details
Details for the file bingsearch-0.1.tar.gz
.
File metadata
- Download URL: bingsearch-0.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 635aa8dec868a3f40ed90a86a7d1753277183627e64d9e4a6f8f04ba6b49a67c |
|
MD5 | 377d6b8f3050376902aefe3dc2d5c4c5 |
|
BLAKE2b-256 | c2f4ea993db80443c55bcb063f46ed483a2de7ff124fce9aaad7bc9857453b93 |
File details
Details for the file bingsearch-0.1-py2.7.egg
.
File metadata
- Download URL: bingsearch-0.1-py2.7.egg
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cea4d3567b3e660ea197f3f9f1670c9e3dc2a8acf600a0675a59c83f3063abe |
|
MD5 | 14439d865dd9e135497f82ebd74badf8 |
|
BLAKE2b-256 | 2cc8388b37737ba005bfaf27bebc569398fba0cf57656971c92c7c1edc739ebd |