Skip to main content

GetMeadow

API Documentation

Installation

pip install getmeadow

A Python client for the Meadow API built on httpx and pydantic

GetMeadow uses Pydantic for request and response validation and currently supports username/password authentication. Many client methods return a two-item tuple containing the HTTP status code and the response data:

status_code, data = client.get_orders()

Organizations

Organization handling works similarly to the Meadow web application. API URLs are generated using the client instance's current organization ID. Calling client.change_org_by_name changes the active organization to the organization matching the provided name. Organization data is available through the roles attribute:

Organization data can be found in the roles attribute

client.roles['organizations']

Most API methods, such as get_orders() and create_user(), operate on the currently selected organization.

    client = MeadowClient(
        username=os.getenv("MEADOW_USERNAME"),
        password=os.getenv("MEADOW_PASSWORD")
    )

    product_id = 12345
    product_option_id = 678910
    payment_type_id = 54321
    patient_hash = '9mLifw'

    order = {
        "type": "in-store",
        "status": "draft",
        "lineItems": [{
            "productId": product_id,
            "productOptionId": product_option_id,
            "quantity": 1
        }],
        "payments": [{
            'paymentTypeId': payment_type_id,
            'remaining': True,
        }],
        "patientHash": patient_hash
    }
    status_code, result = client.create_order(order)

Metadata

Release files for getmeadow 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for getmeadow 1.0.1
File Size Uploaded Provenance Actions
getmeadow-1.0.1.tar.gz 9.0 kB Without provenance Details for getmeadow-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for getmeadow 1.0.1
File Interpreter ABI Platform Actions
getmeadow-1.0.1-py3-none-any.whl Python 3 none any Details for getmeadow-1.0.1-py3-none-any.whl

Total release size: 19.7 kB

Release files / getmeadow-1.0.1.tar.gz

Download URL getmeadow-1.0.1.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3971dcfde22f0bb5870ad379ad486828b783c1c1820122cc8612d270fd981a2c
BLAKE2b-256 checksum
How to use checksums
3365eae4e874464e1f5d8bb51c423ece4c08e50a3382e9104a12da3cc8c84291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / getmeadow-1.0.1-py3-none-any.whl

Download URL getmeadow-1.0.1-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3bfd49d92dbd9452ceab706f8bb05b41913c64a885ef7097a2055f804ed9c61
BLAKE2b-256 checksum
How to use checksums
91faeb215d909a853abf1a096f6e6c11c58259e5e37a65d62af6b04d8ceae8da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for getmeadow 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page