Part 1. Insert the Searchterm in the URL and get the corresponding images. Within the URL parameter "offset" you can paginate through the responses.
Part 2. With a second URL you can display the last 10 search terms.
Example URL: https://daa-image-search-api.glitch.me/api/search/iyengar yoga horgen?offset=1
{
"type": "image/jpeg",
"width": 373,
"height": 373,
"size": 13386,
"url": "https://lh6.googleusercontent.com/-cdZWCgWf6rc/AAAAAAAAAAI/AAAAAAAAABI/jURuV8k0aWs/photo.jpg",
"thumbnail": {
"url": "https://encrypted-tbn0.gstatic.com/
images?q=tbn:ANd9GcRGqbueRFqv-Z0NZCX_3p7pf-lGwRmFAv2VRJkLz_rPbp3sIkZaVK89Uw",
"width": 122,
"height": 122
},
"description": "Iyengar Yoga Horgen - Google+",
"parentPage": "https://plus.google.com/+IyengaryogahorgenChmap"
}
Click this URL: http://daa-image-search-api.glitch.me/api/lastsearch/