{"repo":"owainlewis/digital-ocean","free":true,"listed":false,"github":"https://github.com/owainlewis/digital-ocean","clone":"git clone https://github.com/owainlewis/digital-ocean.git","description":"Idiomatic Clojure client for Digital Ocean that makes it easy to boot virtual servers from your REPL","language":"Clojure","stars":39,"topics":["digital-ocean","api-client","clojure"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"digital-ocean A small Clojure client for the DigitalOcean API v2. The library focuses on the modern control-plane API at https://api.digitalocean.com/v2 . DigitalOcean V1 support was removed in 2.0.0 . It gives you: - simple helpers for common resources like Droplets, domains, SSH keys, images, regions, sizes, tags, projects, and VPCs - a low-level request function for any DigitalOcean endpoint - automatic JSON encoding and decoding - Clojure keyword support for API fields, including :per-page to per page - pagination helpers for list endpoints - proxy support through clj-http request options - useful error data through ex-info Install Leiningen: Clojure CLI: Authentication Create a personal access token in DigitalOcean and keep it out of source control. You can also pass a token string directly to every function: Proxy options can be passed through to clj-http : Droplets Domains And Records SSH Keys Other Helpers Any Endpoint Use request when you want the full response envelope: Use request! when you want the parsed body or an exception: For HTTP failures, request! and the convenience helpers throw ex-info . The exception data includes :status , :headers , :rate-limit , :body , and :error . Pagination DigitalOcean list endpoints use page and per page query params and return pagination links in :links :pages . Tests Tests run against a local HTTP server. They do not call DigitalOcean. License Copyright 2014-2026 Owain Lewis Distributed under the Eclipse Public License, the sa","default_branch":null,"files":null,"tree":[],"storefront":"/r/owainlewis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/owainlewis/digital-ocean/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."}