Recurly client, generated from the OpenAPI spec.
```rust use recurly::RecurlyClient; use recurly::model::*;
async fn main() { let client = RecurlyClient::fromenv(); let response = client .listsites() .ids(&["your ids"]) .limit(1) .order("your order") .sort("your sort") .state("your state") .send() .await .unwrap(); println!("{:#?}", response); }
```
This example loads configuration from environment variables, specifically:
RECURLY_BASE_URL
RECURLY_API_KEY
Add this to your Cargo.toml:
toml
[dependencies]
recurly = "0.1.0"
You can see working examples of every API call in the examples/
directory.
Contributions are welcome!
Library created with Libninja.