{"id":24956853,"url":"https://github.com/andrewstuart/go-dropper","last_synced_at":"2025-03-28T20:38:06.409Z","repository":{"id":24554318,"uuid":"27961322","full_name":"andrewstuart/go-dropper","owner":"andrewstuart","description":"A command line interface for creating and managing DigitalOcean droplets, written in Golang.","archived":false,"fork":false,"pushed_at":"2014-12-18T02:47:59.000Z","size":296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T06:41:56.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewstuart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-13T13:24:45.000Z","updated_at":"2014-12-18T02:48:00.000Z","dependencies_parsed_at":"2022-08-22T23:40:29.299Z","dependency_job_id":null,"html_url":"https://github.com/andrewstuart/go-dropper","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Fgo-dropper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Fgo-dropper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Fgo-dropper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Fgo-dropper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewstuart","download_url":"https://codeload.github.com/andrewstuart/go-dropper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100418,"owners_count":20723466,"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":"2025-02-03T06:41:24.860Z","updated_at":"2025-03-28T20:38:06.385Z","avatar_url":"https://github.com/andrewstuart.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-Ocean (or ocean)\n\n[Main Documentation](https://godoc.org/github.com/andrewstuart/go-dropper/ocean)\n\nA simple CLI \u0026 go library for DO's api\n\nEverything should be mostly stable as far as the API. I'll just be adding functionality with the same\ngeneral API contracts.\n\n# Example\n\n[Playground](https://play.golang.org/p/7QKLMBD_QB)\n\n```go\npackage main\n\nimport (\n  \"log\"\n\n  \"github.com/andrewstuart/go-dropper/ocean\"\n)\n\nc := ocean.NewClient(\"0123456789abcdef\")\n\nimgs, err := c.GetImages()\n\nif err != nil {\n  //Handle err\n}\n\nfor _, i := range imgs {\n  d := ocean.Droplet{\n    Name: \"My-\" + d.Slug,\n    Image: d.Slug,\n    Size: \"512mb\",\n    Region: \"sfo1\",\n  }\n\n  c.CreateDroplet(d)\n\n  log.Printf(\"Droplet ID for droplet %s: %d\", d.Name, d.Id)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewstuart%2Fgo-dropper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewstuart%2Fgo-dropper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewstuart%2Fgo-dropper/lists"}