crypto-markets 0.5.1

Get all trading pairs of a cryptocurrency exchange
Documentation

crypto-markets

Get all trading pairs of 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())
}