A Rust client for the Alpha Vantage API.
extern crate alphavantage;
fn main() {
let client = alphavantage::Client::new("MY_SECRET_TOKEN");
let time_series = client.get_time_series_daily("GOOG").unwrap();
let entry = time_series.entries.last().unwrap();
println!("{:?}", entry);
let exchange_rate = client.get_exchange_rate("USD", "EUR").unwrap();
println!("{:?}", exchange_rate);
}