Crates.io | AlphaVantageWrapper |
lib.rs | AlphaVantageWrapper |
version | 0.2.0 |
source | src |
created_at | 2023-10-15 17:17:23.546586 |
updated_at | 2023-10-16 00:02:44.861843 |
description | A wrapper library for the Alpha Vantage API! |
homepage | |
repository | |
max_upload_size | |
id | 1004020 |
size | 40,016 |
Stock analysis API wrapper crate for rust! Get real time data on publicly accessible stock information
Use the package manager cargo to add AlphaVantageWrapper to your rust project.
cargo add AlphaVantageWrapper
or add the dependency directly in your cargo.toml file
[dependencies]
AlphaVantageWrapper = "{version}"
use reqwest::Error;
use AlphaVantageWrapper::broker::broker_api::BrokerAPI;
#[tokio::main]
async fn main() -> Result<(),Error>{
let alpha_api = BrokerAPI::new("[API KEY]");
Ok(())
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.