1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! # tcglookup
//!
//! The official Rust SDK for the [TCG Price Lookup API].
//!
//! Live trading card prices across Pokemon, Magic: The Gathering, Yu-Gi-Oh!,
//! Disney Lorcana, One Piece TCG, Star Wars: Unlimited, and Flesh and Blood.
//!
//! Get a free API key at <https://tcgpricelookup.com/tcg-api>
//!
//! ## Quickstart
//!
//! ```no_run
//! use tcglookup::{Client, CardSearchParams};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let client = Client::new("tlk_live_...");
//!
//! let results = client
//! .cards()
//! .search(CardSearchParams {
//! q: Some("charizard".into()),
//! game: Some("pokemon".into()),
//! limit: Some(5),
//! ..Default::default()
//! })
//! .await?;
//!
//! for card in results.data {
//! println!("{} — {}", card.name, card.set.name);
//! }
//! Ok(())
//! }
//! ```
//!
//! [TCG Price Lookup API]: https://tcgpricelookup.com/tcg-api
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use *;