About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 82
  • Price: Free |
  • Operating system: Linux
  • Publisher: Lakshman Prasad and Shabda Raaj
See full specifications

linux default iconbingapi Publisher's description

A very thin Python wrapper over the Bing API

bingapi is a very thin Python wrapper over the Bing API. Bing provides a very simple Restful interface to their search engine and provides results in JSON and XML interface.

With bingapi.py, we query the rest urls to get the JSON response, which is parsed with simplejson.py. bingapi.py just adds simple niceties like logging and error handling.


easy_install bingapi

or Svn it from https://svn.uswaretech.com/bingapi/


To use this library, you need to have an Appid from Bing. You can get it from

The meat of bingapi.py is `talk_to_bing` function. It takes a query(eg. salsa)
and a sources(eg. web) and other optional parameters in extra_args
(eg. {'web.offset': 40}) and returns the dictionary of Bing's response.


In [2]: from bingapi import bingapi

In [3]: bing = bingapi.Bing('')

In [4]: bing.talk_to_bing('salsa', sources='web')

In [5]: bing.talk_to_bing('salsa', sources='web', extra_args={'web.offset':40})

Class `Bing` also provides utility functions to do the various types of seraches
so you dont have to remember the source type.

The various functions available are,


All of them are used similarly.

In [6]: bing.do_web_search('salsa')

In [7]: bing.do_image_search('salsa')

In [8]: bing.do_answers_search('what is salsa')

If you want to use multiple sources in one call you can use `talk_to_bing`
directly as

In [10]: bing.talk_to_bing(query='salsa', sources='web news')

System Requirements:

В· Python
Program Release Status: Minor Update
Program Install Support: Install and Uninstall

bingapi Tags:

Click on a tag to find related softwares

Is bingapi your software?

Manage your software

Most Popular

linux default icon GDB 7.4
GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it... Read more
linux default icon Coral 0.9.1
Coral is a tool and a development platform to create and transform models and modeling languages.
linux default icon Forum Paid Plus Script 6.1
Forum Paid Pay Per Post Exchange is targeted at forum owners who wish to...
linux default icon sdo 0.6.5
Converts oracle SDO_GEOMETRY objects to WKT and GeoJSON.
linux default icon Get Paid Plus Script 6.1
Get Paid Plus Script

Related Category

» Other (877)
» Tools & Editors (359)
» Web Development (146)