melipayamak-rs

Crates.iomelipayamak-rs
lib.rsmelipayamak-rs
version0.1.1
created_at2025-07-23 08:40:23.404469+00
updated_at2025-08-05 09:22:49.489696+00
descriptionRust client for Sending Simple Melipayamak SMS API
homepage
repositoryhttps://github.com/hamidlotfi92/melipayamak-rs
max_upload_size
id1764501
size46,693
(hamidlotfi92)

documentation

https://docs.rs/melipayamak-rs

README

Melipayamak-rs

Crates.io Documentation License

A Rust client library for the Melipayamak SMS API.

Features

  • Synchronous API calls
  • Proper error handling
  • Persian text encoding support
  • Configurable API endpoints

Installation

Add this to your Cargo.toml:

[dependencies]
melipayamak-rs = "0.1"

Usage

use melipayamak_rs::MelipayamakClient;

fn main() {
    let client = MelipayamakClient::new("your_username", "your_password");
    
    match client.send_sms("09123456789", "5000", "Hello from Rust!") {
        Ok(response) => println!("SMS sent successfully: {:?}", response),
        Err(e) => eprintln!("Failed to send SMS: {}", e),
    }
}

Documentation

Full documentation is available at docs.rs.

License

Dual-licensed under MIT .

Commit count: 0

cargo fmt