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)
11 freelancer chào giá trung bình$25 cho công việc này
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!