crypto-markets

Crates.iocrypto-markets
lib.rscrypto-markets
version1.3.11
sourcesrc
created_at2020-12-26 03:32:54.451195
updated_at2023-03-19 09:04:20.583953
descriptionFetch trading markets from a cryptocurrency exchange
homepage
repositoryhttps://github.com/crypto-crawler/crypto-crawler-rs/tree/main/crypto-markets
max_upload_size
id327352
size287,348
Frank Dai (soulmachine)

documentation

README

crypto-markets

Fetch trading markets from a cryptocurrency exchange.

Example

use crypto_markets::{fetch_markets, MarketType};

fn main() {
    let markets = fetch_markets("Binance", MarketType::Spot).unwrap();
    println!("{}", serde_json::to_string_pretty(&markets).unwrap())
}
Commit count: 0

cargo fmt