I have to write a script to catch some info in an API with python It looks like this post Tell when Job is Complete but without Kubernetes stuff
I have a json format like this :
[{'name': 'E56a, character.',
'results': '*some url link*',
'status': 'Complete',
'token': 'qFTDHYiuf514oz'}]
When I submit my job, the status is 'running' until it finished and became 'complete' but It last about one hour and depend on the file I want to submit to the website ... I wanted to know how can write in my script something that will allow me to download result when the status key is completed?
Thanks