ALPHA_VANTAGE

Project status & info:

| License | Crates Version | Docs | | :---: | :---: | :---: | | License: MIT | Crate | Docs |

Rust Client library built for accessing Alphavantage API.

Project Functionality

Add as dependencies

Edit Cargo.toml file to add alpha_vantage as dependencies toml [dependencies] alpha_vantage = "0.6.0"

OR For bleeding edge development use

toml [dependencies] alpha_vantage = {git = "https://github.com/iamsauravsharma/alpha_vantage"}

Usage

Sample code to find exchange rate between two currency(both physical & digital supported)

rust let api_key = alpha_vantage::set_api("YOUR-API-HERE", surf::Client::new()); let exchange = api_key.exchange("USD","CNY").await.unwrap(); let rate = exchange.rate(); println!("{}",rate);