#sms #client #api #api-client #message #com #intistelecom

no-std intistelecom-rs

With the intistele.com, you can access and organise SMS mailouts from your own software via API

1 unstable release

0.1.2 Aug 22, 2023
0.1.1 Aug 22, 2023
0.1.0 Aug 18, 2023

#216 in No standard library

Download history 25/week @ 2024-02-26 54/week @ 2024-04-01

54 downloads per month

MIT/Apache

23KB
386 lines

Intistele.com

With the intistele.com, you can access and organise SMS mailouts from your own software via API
Intistele.com documentation

Quickstart

use intistelecom_rs::{
    client::Client,
    message::send,
    model::message::MessageBody,
};

fn main() {
    let client: Client = Client::new("YOUR_USERNAME", "YOUR_API_KEY");
    let res = send(
        &client,
        &mut MessageBody {
            destination: String::from("PHONE_NUMBER"),
            originator: String::from("ORIGINATOR_NAME"),
            text: String::from("SOME TEXT"),
            time_to_send: String::from("2023-08-01 11:20:00"),
            validity_period: 0,
            callback_url: String::from(""),
            use_local_time: false,
        },
    );
    println!("{:#?}", res);
}

Dependencies

~7–21MB
~307K SLoC