rsdo 0.1.20260901

A Rust client library for the DigitalOcean API v2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
lang: Python
source: |-
  import os
  from pydo import Client

  client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

  req = {
    "is_enabled": true,
    "scheduled_details": {
      "cron": "* * * * *",
      "body": {
        "name": "Welcome to DO!"
      }
    }
  }

  resp = client.functions.update_trigger(namespace_id="39f3ca", trigger_name="trig_name", body=req)