Getting print percentage in a python script

I am writing a python script to send me a notification when my print is done. I think that the best way to do this would be using websockets. I am trying to use http://server's-ip:3344/printer/api/Monoprice_Maker_Select?a=listJobs&data={}&apikey=my-key in the browser, but all it returns is {"data":[]}. What am I doing wrong? Is this the best way to get the percentage in a python script?

Comments

Sign In or Register to comment.