Image Search Abstraction Layer API

Coded by Joshua Davidson

Description

A simple image search abstraction layer API that takes a search string and returns a set of image data including name, image url, and page url. The API can take an offset and limit parameter to paginate and limit results. A history log can also be called to list the previous searches. The history log can take a limit parameter to limit results.

Append your query to https://img-search-project.herokuapp.com/imagesearch/ to give it a try!
Visit https://img-search-project.herokuapp.com/history to view the 10 most recent searches.

Example Image Search Usage

https://img-search-project.herokuapp.com/imagesearch/freecodecamp?limit=1&offset=0

Example Image Search Output

[ { name: "Free Code Camp 3rd Meetup! - Free Code Camp Austin (Austin, TX ...", url: "http://photos3.meetupstatic.com/photos/event/c/8/6/e/highres_443871310.jpeg", pageURL: "www.meetup.com/Free-Code-Camp-Austin/events/227106186" } ]

Example History Usage

https://img-search-project.herokuapp.com/history?limit=2

Example History Output

[ { timestamp: "2016-08-20T01:37:44.762Z", query: "free code camp" }, { timestamp: "2016-08-20T01:37:40.054Z", query: "freecodecamp" } ]