GitHub Contributors Stars Build Status Downloads Crates.io

Postman client, generated from the OpenAPI spec.

Usage

```rust use postmanapi::PostmanClient; use postmanapi::model::*;

[tokio::main]

async fn main() { let client = PostmanClient::fromenv(); let response = client .getallapis() .workspace("your workspace") .since("your since") .until("your until") .createdby("your created by") .updatedby("your updated by") .ispublic(true) .name("your name") .summary("your summary") .description("your description") .sort("your sort") .direction("your direction") .send() .await .unwrap(); println!("{:#?}", response); }

```

This example loads configuration from environment variables, specifically:

Installation

Add this to your Cargo.toml:

toml [dependencies] postman-api = "0.1.0"

[Documentation]

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

Contributing

Contributions are welcome!

Library created with Libninja.