User stories:1) I can get the image URLs, alt text and page urls for a set of images relating to a given search string.
2) I can paginate through the responses by adding a ?offset=2 parameter to the URL.
3) I can get a list of the most recently submitted search strings.
https://mysterious-brushlands-86683.herokuapp.com/api/imagesearch/pupper?offset=1
[
{
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQAnmfWXQG8ulhDhlFtg9o8ZbJLoU_j0cIcsPzw8XfxF2DMNJ8TvcSFtAo",
"context": "https://www.youtube.com/watch%3Fv%3D4PDQ1gziLL8",
"snippet": "youtube.comBig Ol Pupper and Doggo Special V.2 - YouTube1280 × 720 - 49 k - jpg",
"url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQAnmfWXQG8ulhDhlFtg9o8ZbJLoU_j0cIcsPzw8XfxF2DMNJ8TvcSFtAo"
}
]
https://mysterious-brushlands-86683.herokuapp.com/api/latest/imagesearch
[
{
"term": "pupper",
"when": "Thu Dec 14 2017 16:08:06 GMT+0300 (+03)"
}
]