Skip to main content

GitHub Contributors Stars Build Status Downloads Pypi

Postman client, generated from the OpenAPI spec.

Usage

import os
from postman_api import AsyncPostmanClient
from postman_api import PostmanClient

def main():
    client = PostmanClient.from_env()
    response = client.get_all_apis()
    print(f"{response!r}")

async def async_main():
    client = AsyncPostmanClient.from_env()
    response = await client.get_all_apis()
    print(f"{response!r}")


if __name__ == "__main__":
    if os.environ.get("ASYNC"):
        import asyncio
        asyncio.run(async_main())
    else:
        main()

This example loads configuration from environment variables, specifically:

  • POSTMAN_API_KEY

Documentation

You can see working examples of every API call in the examples/ directory.

Contributing

Contributions are welcome!

Library created with Libninja.

Release files for postman_api 3.0.0

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

Source distribution (sdist)

Source distribution for postman_api 3.0.0
File Size Uploaded
postman_api-3.0.0.tar.gz 21.4 kB Details

Built distribution (wheel)

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

Total release size: 40.0 kB

Release files / postman_api-3.0.0.tar.gz

Download URL postman_api-3.0.0.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7371e67c9263542726995614c1a1b478ac8b85dbdbb1baf8db1e4310ac347cdc
BLAKE2b-256 checksum
How to use checksums
4073eba3bb60e0e37bf612ecb01b4bfc3c3977aaecb882fbcd87dd6bd8fed861
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / postman_api-3.0.0-py3-none-any.whl

Download URL postman_api-3.0.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d01c32489b9f0f6fc876544185175ed24729b4417b14794f371f4deed693bb2d
BLAKE2b-256 checksum
How to use checksums
7345bdf97926ed997d5bf19e0a1efc6fae249f3e505ee805f84535bb585849fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

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