hypixel 0.1.0

Rust wrapper for the Hypixel public API.
Documentation
use hypixel::handler::player_data::Client;

#[tokio::test]
async fn player_data() {
    let client = Client::login("");

    let hockus = client.player_from_uuid("").await.unwrap();
    assert_eq!(hockus.name, "hockus");
}

#[tokio::test]
async fn friends()  {
    let client = Client::login("");

    let hockus = client.player_from_uuid("").await.unwrap();
    let friends = hockus.friends(&client).await.unwrap();

    for f in friends {
        let f = client.player_from_uuid(&f.uuid_sender).await.unwrap();

        println!("Found {}", f.name);
    }
}