| Crates.io | finnhub-rust |
| lib.rs | finnhub-rust |
| version | 0.1.9 |
| created_at | 2024-03-28 04:08:55.405126+00 |
| updated_at | 2024-03-30 14:45:36.541453+00 |
| description | Rust client for Finnhub |
| homepage | |
| repository | https://github.com/ryqdev/finnhub-rust |
| max_upload_size | |
| id | 1188712 |
| size | 38,404 |
Get your api key from finnhub
use finnhub_rust::client::FinnClient;
#[tokio::main]
async fn main() {
let api_key = "<your api key from finnhub>".to_string();
let client = FinnClient::new(api_key);
let resp = client.quote("AAPL").await.unwrap();
println!("{:?}", resp)
}