| Crates.io | pokemon_tcg_sdk_rs |
| lib.rs | pokemon_tcg_sdk_rs |
| version | 0.1.0 |
| created_at | 2025-05-28 01:40:27.725293+00 |
| updated_at | 2025-05-28 01:40:27.725293+00 |
| description | A Rust implementation for the Pokemon TCG v2 API |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1692213 |
| size | 142,410 |
use crate::client::client::{ Card, Set, Pokemon, Type };
let api_key = "".into();
let api = Client::new(api_key);
let card: Option<Card> = api.find::<Card>("xy1-1".into()).await;
let set: Option<Set> = api.find::<Set>("xy1-1".into()).await;
let _types: Vec<Type> = api.all::<Type>().await;
Testing command
POKEMON_TCG_API_KEY=KEY_HERE RUST_BACKTRACE=full cargo test -- --show-output