Skip to content

Instantly share code, notes, and snippets.



Created Aug 10, 2020
What would you like to do?
Python example for
import requests
import json
url = ''
files = {'image':('1.jpg', open('1.jpg', 'rb'))}
r =, files=files)
result = json.loads(r.content)
print("This image is classified as "+str(result["data"]["classification"]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.