{"id":37125218,"url":"https://github.com/timfallmk/godo","last_synced_at":"2026-01-14T14:28:55.355Z","repository":{"id":35748382,"uuid":"40027538","full_name":"timfallmk/godo","owner":"timfallmk","description":"DigitalOcean Go API client","archived":false,"fork":true,"pushed_at":"2015-07-31T23:34:52.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T09:52:51.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"digitalocean/godo","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timfallmk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-31T22:37:19.000Z","updated_at":"2015-07-31T22:37:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/timfallmk/godo","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/timfallmk/godo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfallmk%2Fgodo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfallmk%2Fgodo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfallmk%2Fgodo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfallmk%2Fgodo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timfallmk","download_url":"https://codeload.github.com/timfallmk/godo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfallmk%2Fgodo/sbom","scorecard":{"id":885909,"data":{"date":"2025-08-11","repo":{"name":"github.com/timfallmk/godo","commit":"e2a34fae5e6770f1dfd9c27268e3a1745743fb0c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T10:02:37.774Z","repository_id":35748382,"created_at":"2025-08-24T10:02:37.774Z","updated_at":"2025-08-24T10:02:37.774Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28423136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-14T14:28:54.740Z","updated_at":"2026-01-14T14:28:55.341Z","avatar_url":"https://github.com/timfallmk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/digitalocean/godo.svg)](https://travis-ci.org/digitalocean/godo)\n\n# Godo\n\nGodo is a Go client library for accessing the DigitalOcean V2 API.\n\nYou can view the client API docs here: [http://godoc.org/github.com/digitalocean/godo](http://godoc.org/github.com/digitalocean/godo)\n\nYou can view Digital Ocean API docs here: [https://developers.digitalocean.com/documentation/v2/](https://developers.digitalocean.com/documentation/v2/)\n\n\n## Usage\n\n```go\nimport \"github.com/digitalocean/godo\"\n```\n\nCreate a new DigitalOcean client, then use the exposed services to\naccess different parts of the DigitalOcean API.\n\n### Authentication\n\nCurrently, Personal Access Token (PAT) is the only method of\nauthenticating with the API. You can manage your tokens\nat the Digital Ocean Control Panel [Applications Page](https://cloud.digitalocean.com/settings/applications).\n\nYou can then use your token to create a new client:\n\n```go\nimport \"golang.org/x/oauth2\"\n\npat := \"mytoken\"\ntype TokenSource struct {\n    AccessToken string\n}\n\nfunc (t *TokenSource) Token() (*oauth2.Token, error) {\n    token := \u0026oauth2.Token{\n        AccessToken: t.AccessToken,\n    }\n    return token, nil\n}\n\ntokenSource := \u0026TokenSource{\n    AccessToken: pat,\n}\noauthClient := oauth2.NewClient(oauth2.NoContext, tokenSource)\nclient := godo.NewClient(oauthClient)\n```\n\n## Examples\n\n\nTo create a new Droplet:\n\n```go\ndropletName := \"super-cool-droplet\"\n\ncreateRequest := \u0026godo.DropletCreateRequest{\n    Name:   dropletName,\n    Region: \"nyc3\",\n    Size:   \"512mb\",\n    Image: godo.DropletCreateImage{\n        Slug: \"ubuntu-14-04-x64\",\n    },\n}\n\nnewDroplet, _, err := client.Droplets.Create(createRequest)\n\nif err != nil {\n    fmt.Printf(\"Something bad happened: %s\\n\\n\", err)\n    return err\n}\n```\n\n### Pagination\n\nIf a list of items is paginated by the API, you must request pages individually. For example, to fetch all Droplets:\n\n```go\nfunc DropletList(client *godo.Client) ([]godo.Droplet, error) {\n    // create a list to hold our droplets\n    list := []godo.Droplet{}\n\n    // create options. initially, these will be blank\n    opt := \u0026godo.ListOptions{}\n    for {\n        droplets, resp, err := client.Droplets.List(opt)\n        if err != nil {\n            return nil, err\n        }\n\n        // append the current page's droplets to our list\n        for _, d := range droplets {\n            list = append(list, d)\n        }\n\n        // if we are at the last page, break out the for loop\n        if resp.Links == nil || resp.Links.IsLastPage() {\n            break\n        }\n\n        page, err := resp.Links.CurrentPage()\n        if err != nil {\n            return nil, err\n        }\n\n        // set the page we want for the next request\n        opt.Page = page + 1\n    }\n\n    return list, nil\n}\n```\n\n## Versioning\n\nEach version of the client is tagged and the version is updated accordingly.\n\nSince Go does not have a built-in versioning, a package management tool is\nrecommended - a good one that works with git tags is\n[gopkg.in](http://labix.org/gopkg.in).\n\nTo see the list of past versions, run `git tag`.\n\n\n## Documentation\n\nFor a comprehensive list of examples, check out the [API documentation](https://developers.digitalocean.com/documentation/v2/).\n\nFor details on all the functionality in this library, see the [GoDoc](http://godoc.org/github.com/digitalocean/godo) documentation.\n\n\n## Contributing\n\nWe love pull requests! Please see the [contribution guidelines](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimfallmk%2Fgodo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimfallmk%2Fgodo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimfallmk%2Fgodo/lists"}