{"repo":"digitalocean/godo","free":true,"listed":false,"github":"https://github.com/digitalocean/godo","clone":"git clone https://github.com/digitalocean/godo.git","description":"DigitalOcean Go API client","language":"Go","stars":1541,"topics":["go","golang","digitalocean","api","hacktoberfest"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Godo Godo is a Go client library for accessing the DigitalOcean V2 API. You can view the client API docs here: http://godoc.org/github.com/digitalocean/godo You can view DigitalOcean API docs here: https://docs.digitalocean.com/reference/api/api-reference/ 🚀 New in v1.191.0 — AI & Inference support godo now ships first-class support for DigitalOcean's Gradient AI Platform: chat completions (with streaming), image generation, embeddings, batch inference, model listing, and more — all from the same Client . Jump to AI & Inference to get started. Install where X.Y.Z is the version you need. or for non Go modules usage or latest version. Usage Create a new DigitalOcean client, then use the exposed services to access different parts of the DigitalOcean API. Authentication You can manage API tokens at the DigitalOcean Control Panel Applications Page. Credentials for inference APIs What matters is the credential you pass to godo.NewFromToken , not which DigitalOcean API you call: What you're calling What you need --- --- Infrastructure APIs ( Droplets , Kubernetes , Volumes , …) A DigitalOcean API token (PAT). Inference APIs ( Chat , Models , Embeddings , ImageGenerations , Messages , Responses , BatchInference , …) A PAT created with full access scope, or a Gradient Model Access Key . If you only have a limited-scope PAT, infrastructure calls will work but inference calls will fail with 401 . Create a new PAT with full access, or use a Model Access Key instead. If you need to prov","default_branch":null,"files":null,"tree":[],"storefront":"/r/digitalocean","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/digitalocean/godo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}