Image Search Abstraction Layer

This is a image search abstraction layer API. It uses the google search API to search for images and sends back a JSON with simplified search results. The google API returns 10 search results at a time. You can use the ?offset parameter to request a different page of the results.

Searching for images example:

            /api/imagesearch/cats
            /api/imagesearch/cats?offset=2
          

Example response:

      [
        {
        "url": "http://r.ddmcdn.com/s_f/o_1/cx_462/cy_245/cw_1349/ch_1349/w_720/APL/uploads/2015/06/caturday-shutterstock_149320799.jpg",
        "snippet": "Cats | Animal Planet",
        "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRpQbbSO17HYWZxPPL80FSIYVHpvYGzJKjY4aPFtfEr7409Oh4I52Isw6mE",
        "context": "http://www.animalplanet.com/pets/cats/"
        },
        ...
      ]
      

Checking last 10 searches example:

You can also check which were the last 10 searches performed with the API.

            /api/latest
          

Example response:

      [
        [{"term":"cats",
          "when":"2017-08-23T10:06:19.955Z"},
         {"term":"cats",
          "when":"2017-08-23T10:05:59.562Z"}
      ]