pokemon_tcg_sdk_rs

Crates.iopokemon_tcg_sdk_rs
lib.rspokemon_tcg_sdk_rs
version0.1.0
created_at2025-05-28 01:40:27.725293+00
updated_at2025-05-28 01:40:27.725293+00
descriptionA Rust implementation for the Pokemon TCG v2 API
homepage
repository
max_upload_size
id1692213
size142,410
Alex (AlejandroRNatal)

documentation

README

A Rust Implementation for the Pokemon TCG v2 API

API

Usage

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;

Dependencies

  • serde
  • reqwest
  • tokio

Dev

Testing command

POKEMON_TCG_API_KEY=KEY_HERE RUST_BACKTRACE=full cargo test -- --show-output
Commit count: 0

cargo fmt