1 unstable release
new 0.1.0 | Oct 31, 2024 |
---|
#953 in Web programming
112 downloads per month
13KB
247 lines
buy_me_a_coffee
A Rust crate for interacting with the Buy Me a Coffee API.
use buy_me_a_coffee::MemberStatus;
let client = buy_me_a_coffee::Client::new("personal access token here");
for membership in client.members(MemberStatus::All, 1).await.unwrap().data {
// ^ first page
println!("{}", membership.payer_name);
}
Truthfully, this crate is not really ready to be used. It's not possible to test most things when I don't have any supporters on Buy Me a Coffee since the API returns a "No [subscriptions|supporters|extra purchases]" error. If someone would buy me a coffee, that would really help out with this project, wink wink...
Dependencies
~4–14MB
~198K SLoC