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.