Crates.io | twilio-rs |
lib.rs | twilio-rs |
version | 0.1.1 |
source | src |
created_at | 2023-03-30 01:09:01.443774 |
updated_at | 2023-03-30 01:12:00.546274 |
description | Twilio client, generated from the OpenAPI spec. |
homepage | https://github.com/libninjacom/twilio-rs |
repository | https://github.com/libninjacom/twilio-rs |
max_upload_size | |
id | 824556 |
size | 762,743 |
Twilio client, generated from the OpenAPI spec.
use twilio::TwilioClient;
use twilio::model::*;
#[tokio::main]
async fn main() {
let client = TwilioClient::from_env();
let response = client
.list_account()
.friendly_name("your friendly name")
.page(1)
.page_size(1)
.page_token("your page token")
.status("your status")
.await
.unwrap();
println!("{:#?}", response);
}
Add this to your Cargo.toml:
[dependencies]
twilio = "0.1.0"
You can see working examples of every API call in the examples/
directory.
Contributions are welcome!
Library created with Libninja.