10 releases

0.1.9 Mar 30, 2024
0.1.8 Mar 29, 2024

#29 in #quote

Download history 584/week @ 2024-03-24 197/week @ 2024-03-31 10/week @ 2024-04-07

791 downloads per month

GPL-3.0 license

14KB
50 lines

Finnhub Rust Tool Kit

Available Api

Example

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)
}

Dependencies

~7–20MB
~274K SLoC