#response #message #pushy #pushyapi

pushyapi

A simple unofficial API wrapper for Pushy

2 releases

0.1.4 Mar 26, 2025
0.1.3 Jun 26, 2023
0.1.2 Jun 26, 2023
0.1.1 Jun 21, 2023
0.1.0 Jun 21, 2023

#658 in Web programming

Download history 2/week @ 2024-12-11 135/week @ 2025-03-26

135 downloads per month

MIT license

11KB
83 lines

PushyAPI

unofficial pushy.me (https://pushy.me) wrapper

Usage

let pushy_ids: Vec<String> = vec!["id1","id2"];
let data: SomeStruct = your_struct_creation
data.insert(String::from("message"), String::from("Message"));
match pushyapi::send_message_json(pushy_ids, data, None).await {
    Ok(response) => {
        log::debug(format!("Pushy Response: {:?}", response));
    },
    Err(error) => {
        log::error(format!("Failed to send pushy message: {}", error.to_string()));
    }
}

Dependencies

~4–15MB
~197K SLoC