Skip to main content

Python client SDK for Orb's API

Project description

orb

SDK Installation

pip install orb-billing

SDK Example Usage

import orb
from orb.models import shared

s = orb.Orb(
    security=shared.Security(
        api_key_auth="",
    ),
)


res = s.availability.ping()

if res.ping_response is not None:
    # handle response

Available Resources and Operations

availability

  • ping - Check availability

coupon

credit

credit_note

  • fetch - Fetch credit note
  • list - List credit notes

customer

event

invoice

item

metric

plan

price

price_interval

subscription

Pagination

Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the returned response object will have a Next method that can be called to pull down the next group of results. If the return value of Next is None, then there are no more pages to be fetched.

Here's an example of one such pagination call:

Maturity

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

Contributions

While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !

SDK Created by Speakeasy

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orb-billing-1.23.0.tar.gz (137.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orb_billing-1.23.0-py3-none-any.whl (355.0 kB view details)

Uploaded Python 3

File details

Details for the file orb-billing-1.23.0.tar.gz.

File metadata

  • Download URL: orb-billing-1.23.0.tar.gz
  • Upload date:
  • Size: 137.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for orb-billing-1.23.0.tar.gz
Algorithm Hash digest
SHA256 d6dc2ffff82025555c779eb29d58cdcded40a1115a202f16359368967fa4d78f
MD5 8d0bed6eb9dec8a8eef1438a5558af8d
BLAKE2b-256 54af27a533d86175267febe978b934938e841984495098430413b390d8473de9

See more details on using hashes here.

File details

Details for the file orb_billing-1.23.0-py3-none-any.whl.

File metadata

  • Download URL: orb_billing-1.23.0-py3-none-any.whl
  • Upload date:
  • Size: 355.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for orb_billing-1.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b690b61253efe92221f9c8320b33d59ff3fbfebaecbfd811062f1a58be5ac83
MD5 eefa8f7db4513b4de92e64fd3011da37
BLAKE2b-256 e6698af56a625ae16b1e04409f488b56fb214f94f4cf772645d376cb2ffeddd1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page