✨ New Metronome docs are live! Need old docs?
Get connected to Metronome’s API and make your first call in minutes.
Learn more about Metronome API authentication here.
pip install --pre metronome-sdk
from metronome import Metronome client = Metronome( # Defaults to os.environ.get("METRONOME_BEARER_TOKEN") if omitted bearer_token="My bearer token", )
Learn more about the Metronome SDK here.
response = client.v1.customers.list() print("✓ Connected to Metronome!") if response.data: customer = response.data[0] print(f" First customer: {customer.name}") else: print(" No customers found.")