twilio-rs

Crates.iotwilio-rs
lib.rstwilio-rs
version0.1.1
sourcesrc
created_at2023-03-30 01:09:01.443774
updated_at2023-03-30 01:12:00.546274
descriptionTwilio client, generated from the OpenAPI spec.
homepagehttps://github.com/libninjacom/twilio-rs
repositoryhttps://github.com/libninjacom/twilio-rs
max_upload_size
id824556
size762,743
Joey (jcaffrey)

documentation

https://docs.rs/twilio

README

Stars Build Status Downloads Crates.io

Twilio client, generated from the OpenAPI spec.

Usage

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);
}

Installation

Add this to your Cargo.toml:

[dependencies]
twilio = "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.

Commit count: 6

cargo fmt