Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 666 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 666 Bytes

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())
}