Crates.io | twilly |
lib.rs | twilly |
version | 0.2.1 |
source | src |
created_at | 2024-02-05 20:07:49.514354 |
updated_at | 2024-09-19 09:13:39.722693 |
description | A implementation of the Twilio API in Rust built upon Reqwest and Serde |
homepage | https://github.com/TristanBlackwell/twilly |
repository | https://github.com/TristanBlackwell/twilly |
max_upload_size | |
id | 1127935 |
size | 97,814 |
twilly
is a helper library bringing access to Twilio's API's via Rust. The library supports a client-based approach, instantiating a twilio client with credentials before sending & receiving requests.
let config = TwilioConfig {
account_sid: "AC....",
auth_token: "auth_tok",
};
let twilio = twilly::Client::new(config);
...
let account = twilio.create_account(Some(&friendly_name))
Coverage is limited and the crate has been built alongside twilly_cli
.