For starters your should auth yourself with https://api.vps.net
import vps.net
vpsnet.init('[email protected]','your_auth_key')
After it you may do API calls:
from vpsnet import cloudserver as cs
sc.reboot('cloudserver_id')
For help use
help(cs)
Please read to understand how vps.net.py works.