Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzhegash committed Sep 8, 2022
1 parent 5ea1967 commit f7411ce
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,23 @@ match cmc.price_conversion_id(1.6, "1027", None, "328") {
}
```

#### Exchange ID Map

```rust
use cmc::{Cmc, ListingStatusExchange, SortExchange};

let cmc = Cmc::new("<API KEY>");

match cmc.exchange_id_map(ListingStatusExchange::Active, 1, 10, SortExchange::Id, None) {
Ok(map) => println!("{}", map),
Err(err) => println!("{}", err),
}
```
___

##### See the documentation for the rest.
___


## License

Expand Down

0 comments on commit f7411ce

Please sign in to comment.