Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 818 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 818 Bytes

Search Engine Aggregator

Your task is to build a search engine aggregator that, for a given query, returns combined results from Google, Yahoo, and Bing (or any other search engine you prefer as long as there are 3 of them). Java or Node are strongly preferred, but Python/Ruby/Go are also acceptable. This aggregator should be considered an API and provide a RESTful interface that emits JSON responses (i.e. it should be possible to query it from a terminal using curl).

Instructions

To run:

$ npm install
$ node app.js

To request search results:

$ curl 0.0.0.0:3000/YOUR_SEARCH_QUERY

Notes

For some reason, when I hit the DuckDuckGo search page, it redirects to the home page. That's why the DuckDuckGo results are empty. Would have loved to spend more time figuring this bug out.