alpha_vantage 0.4.0

Rust Wrapper/Crate built for AlphaVantage API
Documentation

ALPHA_VANTAGE

Project status & info:

Travis Build Status Dependency Status Code Coverage License Crates Version Docs
Travis Build Status Dependency status Code coverage License: MIT Crate Docs

Rust & OS support:

Stable Beta Nightly Linux OSX Windows
Stable support Beta support Nightly support Linux support OSX support Windows support

Rust Client library built for accessing Alphavantage API.

Project Functionality

  • StockTimeSeries
  • Quote Endpoint
  • Search Endpoint
  • Exchange Rate
  • Forex
  • Crypto Currency
  • Technical Indicators
  • Sector Performances

Add as dependencies

Edit Cargo.toml file to add alpha_vantage as dependencies

[dependencies]
alpha_vantage = "0.4.0"

OR For bleeding edge development use

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

Usage

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

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