finnhub-rs

Crates.iofinnhub-rs
lib.rsfinnhub-rs
version0.1.2
sourcesrc
created_at2021-01-27 08:32:26.671772
updated_at2021-02-05 05:35:21.176694
descriptionFinnhub-rs is a client for the Finnhub API implemented in Rust.
homepagehttps://github.com/henryboisdequin/finnhub-rs
repositoryhttps://github.com/henryboisdequin/finnhub-rs
max_upload_size
id347207
size16,018
Henry Boisdequin (henryboisdequin)

documentation

https://docs.rs/finnhub-rs/0.1.2/finnhub_rs/

README

finnhub-rs

License: MIT

Rust client for the Finnhub API. Finnhub is a new Stock API which provides endless data for stocks, currencies, and crypto.

Minimal Example:

// Use finnhub-rs client.
use finnhub_rs::client::Client;

fn main() {
    // Create a new finnhub client.
    let client = Client::new("MY FINNHUB API KEY".to_string());
    // Get a list of supported stocks given the exchange.
    let res = client.stock_symbol("US".to_string()).await.unwrap();
    // Print out the results.
    println!("{:#?}", res);
}
Commit count: 37

cargo fmt