gitpoap-rs 0.1.0

A gitpoap client written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use gitpoap_rs::v1::get_gitpoaps_for_github_user;

#[tokio::main]
async fn main() {
    let github_handle = "woxjro";
    let response = get_gitpoaps_for_github_user(github_handle, None).await;
    match response {
        Ok(gitpoaps_response) => {
            dbg!("{:?}", gitpoaps_response);
        }
        Err(e) => {
            eprintln!("Error: {}", e);
        }
    }
}