Awesome
search-api
An API for fetching results in JSON format from search engines.
Related project
Base URL
http://search-api.herokuapp.com/
Endpoints
- Search:
/search
- News:
/news
Arguments
- Query: q (required)
- Num: num (default - 10)
- Start: start (default - 0)
- Recent: recent (default - None)
- Search Engine: engine (default - randomly selects one)
Examples
http://search-api.herokuapp.com/search?q=hello&num=1&engine=bing
http://search-api.herokuapp.com/news?q=hello&recent=h&start=100
Data returned
See py-web-search for details on the data returned
Additional fields:
result['error']
: True if there has been any error, False if success