<commit_before># URL Shortener
## Created for [Free Code Camp](http://freecodecamp.com)

### 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.

### Usage:
```
https://immense-earth-4759.herokuapp.com/api/imagesearch/cats%20funny?offset=2
```
###Output:
```
[
{
url: "http://i.imgur.com/T9hRUXL.png",
snippet: "What happened to just funny shit and cats?",
context: "http://imgur.com/T9hRUXL"
},
{
url: "http://imgur.com/a/LWssZ",
snippet: "Cats are funny",
context: "http://imgur.com/LWssZ"
}
]
```
### Usage:
```
https://immense-earth-4759.herokuapp.com/api/latest/imagesearch/
```
###Output:
```
[
{
term: "cats funny",
when: "2016-01-06T03:17:35.252Z"
},
{
term: "cats funny",
when: "2016-01-06T03:11:08.419Z"
},
{
term: "cats funny",
when: "2016-01-06T03:10:12.366Z"
},
{
term: "lolcats funny",
when: "2016-01-06T03:09:57.284Z"<commit_msg>change readme.md<commit_after># Image Search API
## Created for [Free Code Camp](http://freecodecamp.com)

### 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.

### Usage:
```
https://immense-earth-4759.herokuapp.com/api/imagesearch/cats%20funny?offset=2
```
###Output:
```javascript
[
{
url: "http://i.imgur.com/T9hRUXL.png",
snippet: "What happened to just funny shit and cats?",
context: "http://imgur.com/T9hRUXL"
},
{
url: "http://imgur.com/a/LWssZ",
snippet: "Cats are funny",
context: "http://imgur.com/LWssZ"
}
]
```
### Usage:
```
https://immense-earth-4759.herokuapp.com/api/latest/imagesearch/
```
###Output:
```javascript
[
{
term: "cats funny",
when: "2016-01-06T03:17:35.252Z"
},
{
term: "cats funny",
when: "2016-01-06T03:11:08.419Z"
},
{
term: "cats funny",
when: "2016-01-06T03:10:12.366Z"
},
{
term: "lolcats funny",
when: "2016-01-06T03:09:57.284Z"
{'fraction_non_alphanumeric': 0.1849630996309963, 'fraction_numerical': 0.07841328413284133, 'mean_word_length': 4.368811881188119, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5053662', 'n_tokens_mistral': 971, 'n_tokens_neox': 838, 'n_words': 219}