I have a python script located on my VPS
and in order to run it I use the following code on my python script :
cmd = ("/home/dist/dist/mysoftware")
ssh=[login to view URL]()
ssh.set_missing_host_key_policy([login to view URL]())
[login to view URL]("myvpsip",22,'root','mypassword')
outlines=[login to view URL]()
Is it possible to create an API or something like that, so instead of doing all this, I just want a "link" or request, so I could run the software like this :
url2 = "myip (or domain name)/apikey/home/mysoftware"
r = [login to view URL](url=url2)
Bu iş için 11 freelancer ortalamada $25 teklif veriyor
Hi I will configure a simple HTTP server within Python and you can invoke it from outside with a public URL http://yourip On couple of hours required to set this up for you Lets get this done
Hi there, I have over 10 years work experience with linux and python and can deifnitely create this route for you so I can definitely help you out with this. Ping me I have immediate availability. Cheers!
Hello, I have gone through your requirements. I can build API with python to execute your script through GET request. I can deliver it within few hours. So let us discuss more details about task in chat. Daha Fazla
Hi, I have experienced python developer with multiple year of experience in developing APIs in python flask and Django. I also have worked with paramiko module and can help design your API immediately. More detailed di Daha Fazla