rustgie

A Bungie.net API client.

All requests should work.
Requests that are part of the OAuth flow are not yet implemented.

Example

```rust

[tokio::main]

async fn main() -> Result<(), Box> { let client = rustgie::RustgieClientBuilder::new() .withapikey("YOURAPIKEYHERE".tostring()) .build();

let manifest_response = client.destiny2_get_destiny_manifest(None).await;
println!("{:#?}", manifest_response.version.unwrap());

let search_response = client.destiny2_search_destiny_player_by_bungie_name(
    rustgie_types::BungieMembershipType::All,
    rustgie_types::user::ExactSearchRequest {
        display_name: Some("Cytraen".parse().unwrap()),
        display_name_code: 2213
    }, None).await;
println!("{:#?}", search_response[0].display_name.as_ref().unwrap());

Ok(())

} ```

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.