Image Search Abstraction Layer 📷

This service accepts a search string as a parameter and will return a set of images relating to the given search string. The JSON response includes the image's URL, alt text, thumbnail link, and context link. You can also get a list of the most recently submitted search strings.

Example Creation Usage

To retrieve a set of images, pass a search term to path https://img-search-layer-microsrvc.herokuapp.com/api/imagesearch/[SEARCHTERM]

You can also paginate through the responses by adding a ? offset=[number] parameter to the URL path.

Valid Image search API call examples

https://img-search-layer-microsrvc.herokuapp.com/api/imagesearch/puppies
https://img-search-layer-microsrvc.herokuapp.com/api/imagesearch/puppies?offset=2

Example Creation Output


        

To get list of the most recent submitted search strings

Make a request to:

https://img-search-layer-microsrvc.herokuapp.com/api/recent

Enjoy! 💙