10 releases

0.1.9 Mar 30, 2024
0.1.8 Mar 29, 2024

#1384 in Web programming

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

~6–17MB
~237K SLoC