4 releases
0.1.3 | Jun 26, 2023 |
---|---|
0.1.2 | Jun 26, 2023 |
0.1.1 | Jun 21, 2023 |
0.1.0 | Jun 21, 2023 |
#137 in #send
4KB
PushyAPI
unofficial pushy.me (https://pushy.me) wrapper
Usage
let pushy_ids: Vec<String> = vec!["id1","id2"];
let mut data: HashMap<String, String> = HashMap::new();
data.insert(String::from("message"), String::from("Message"));
match pushyapi::send_message(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–16MB
~216K SLoC