alphavantage

Build Status

A Rust client for the Alpha Vantage API.

Installation

```toml [dependencies] alphavantage = "*" ````

Example

```rust extern crate alphavantage;

fn main() { let client = alphavantage::Client::new("MYSECRETTOKEN"); let timeseries = client.gettimeseriesdaily("GOOG").unwrap(); let entry = time_series.entries.last().unwrap(); println!("{:?}", entry);

let exchange_rate = client.get_exchange_rate("USD", "EUR").unwrap();
println!("{:?}", exchange_rate);

} ```