You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All examples in the readme only demonstrate the usage for GET requests. There is not a single example for other request types like POST. I needed to dig inside the docs of Slumber to find out how to do them. Including at least one example on how to create a new server or similar would save some time for a lot of people i guess.
The text was updated successfully, but these errors were encountered:
It takes some practice but there is a correlation between the structure of an API call and the documentation on the website. Though I agree that some more examples would have helped. Even then it's hideously ugly to write code like this.
To this end I'm writing some wrapper code for the basic ComputeAPI things like stopping and starting servers, deleting and creating IPs etc. because figuring out this API->Python translation more than once is not something I'm willing to do, and I really wanted it to have Python objects to represent servers and such. (I've not got far but browsing what I've written should show you what you're after) https://github.com/CDWimmer/scwPy
All examples in the readme only demonstrate the usage for GET requests. There is not a single example for other request types like POST. I needed to dig inside the docs of Slumber to find out how to do them. Including at least one example on how to create a new server or similar would save some time for a lot of people i guess.
The text was updated successfully, but these errors were encountered: