POST/POLL/GET with Python

How can I use python submit an image (a URL link to an image) to an API, poll for job completion and get the results from the finished job (another image)? What are some steps I could take to do this? I have a username and password for the API as well.

Upvotes: 0

Views: 356

Answers (1)

grrrrrr
grrrrrr

Reputation: 1425

You should take a look at the requests library. It contains all of the info you need for authentication as well as making POST and GET requests, provided you have the documentation for the API you want to use

Upvotes: 2

Related Questions