{"id":19805622,"url":"https://github.com/remirobert/digitalocean","last_synced_at":"2025-06-11T02:06:51.087Z","repository":{"id":16589730,"uuid":"19344066","full_name":"remirobert/DigitalOcean","owner":"remirobert","description":"DigitalOcean for python3.4","archived":false,"fork":false,"pushed_at":"2014-05-01T17:09:30.000Z","size":160,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T17:53:53.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/remirobert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-01T12:43:32.000Z","updated_at":"2014-05-12T21:50:22.000Z","dependencies_parsed_at":"2022-07-04T13:01:47.269Z","dependency_job_id":null,"html_url":"https://github.com/remirobert/DigitalOcean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FDigitalOcean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FDigitalOcean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FDigitalOcean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FDigitalOcean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remirobert","download_url":"https://codeload.github.com/remirobert/DigitalOcean/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FDigitalOcean/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259184740,"owners_count":22818267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T09:04:41.626Z","updated_at":"2025-06-11T02:06:50.587Z","avatar_url":"https://github.com/remirobert.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"DigitalOcean\n============\n\n#####[Digital Ocean](https://www.digitalocean.com/) API for python3.4.\n\nOverview **DigitalOcean** class\n===========================\n\n``` python\n- def list_droplet(self):\n- def list_size(self):\n- def list_regions(self):\n- def list_images(self):\n- def list_domains(self):\n- def new_domain(self):\n- def get_percentage_event(self):\n- def new_droplet(self, name, size_id, image_id, region_id):\n```\n\nOverview **Droplet** class\n======================\n\n``` Python\n- def display_info_droplet(self):\n- def reboot(self):\n- def power_cycle(self):\n- def shutdown(self):\n- def power_off(self):\n- def power_on(self):\n- def reset_root_password(self):\n```\n\nOverview **Domain** class\n=====================\n\n``` python\n- def display_info_domain(self):\n- def destroy_domain(self):\n```\n\n\nSample application, for reboot all droplets:\n``` python\nimport DigitalOcean\n\ndo = DigitalOcean(\"api_key\", \"client_id\")\ndroplets = do.list_droplet()\n\nfor current_droplet in droplets:\n  current_droplet.reboot()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremirobert%2Fdigitalocean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremirobert%2Fdigitalocean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremirobert%2Fdigitalocean/lists"}