I **know nothing about Python** but would like to clone this script with jquery using ajax post. 
To do that i need to know what this script is doing in the first place.

```
import requests
import json

params = {'nearest': True, 'imageurl': img, 'timestamp':140000}

request = requests.post('http://example.com/api/upload/', data=params)
output = request.json()
print json.dumps(output['files'][0]['predicted_classes'])

```

Thanks. If something is unclear please comment and i'll clarify.