Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Digital Ocean API
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Digital Ocean API

I am now using enough servers and storage at DO that I thought I would look at the API to automate the backups / snapshots etc so have a question to anyone using a Python wrapper round the official API.

Which one are people using - I have been having a dig about on Github etc and all the ones mentioned on the DO API pages haven't been updated for periods from months to years! Is there one that is regularly updated that I haven't found yet - only asking on that as I see there is an update today to allow volume snapshots to be API'd.

Or, is the best thing to do is stick to the basic CURL commands?

Cheers
FB

Comments

  • niknik Member, Host Rep

    There is an Ruby API wrapper that is maintained by DigitalOcean directly:
    https://github.com/digitalocean/droplet_kit

    I used it in the past and it is great! As it seems there is sadly no official Python wrapper.

    Thanked by 1Fatboy
  • Aye - did see that one, but my Ruby knowledge is less than bugger all! Looks like CURL is the way to go and play with python requests :)

  • Probably a bit biased since I've contributed to it, but python-digitalocean is generally the most up-to-date Python library for the DigitalOcean API. The most recent release was just in November. I generally gets updated quite quickly when a new feature is released.

    https://github.com/koalalorenzo/python-digitalocean

    Thanked by 1Fatboy
  • @andrewsomething said:
    Probably a bit biased since I've contributed to it, but python-digitalocean is generally the most up-to-date Python library for the DigitalOcean API. The most recent release was just in November. I generally gets updated quite quickly when a new feature is released.

    https://github.com/koalalorenzo/python-digitalocean

    I did look at that but must of misread the last updated date and thought it was a good few months ago. Will keep an eye on it to see if it updates to include the volume snapshots.

Sign In or Register to comment.