bungie-rs Build Status

A Rust crate for interacting with the Bungie.net API

NOTE: This crate is in alpha and highly unstable!

Features

A direct 1:1 link to the Bungie.net API

Usage

```Rust extern crate bungie; extern crate dotenv; extern crate failure;

use bungie::BungieClient; use std::env; use dotenv::dotenv;

fn main() -> Result<(), failure::Error> { dotenv()?; let bungie = BungieClient::new(env::var("APIKEY")?); let manifest = bungie.destiny2().getdestiny_manifest()?; println!("{}", manifest.response.version); Ok(()) } ```