Python version of the Digital Ocean API usage