crypto-markets

Get all trading pairs of a cryptocurrency exchange.

Usage

```rust use cryptomarkets::{fetchmarkets, MarketType}; use std::{env, str::FromStr};

fn main() { let markets = fetchmarkets("Binance", MarketType::Spot).unwrap(); println!("{}", serdejson::tostringpretty(&markets).unwrap()) } ```