-
User Story: I can get the image URLs, alt text and page urls for a set of images relating to a given search string.
-
User Story: I can paginate through the responses by adding a ?offset=2 parameter to the URL.
-
User Story: I can get a list of the most recently submitted search strings.
- parse the search params from url including ?offset=2 parameter
- Call google custom search with API key
- return an object containing properties 'imgUrl', 'altText' and 'pageUrl'
- return a list of the must recently submitted search strings
- Handle error object returned from google custom search API