Rust

Rust SDK

공식 Rust SDK. async/await 지원, tokio 사용.

설치
$ cargo add tcglookup

주요 기능

  • Async with reqwest + tokio
  • Typed Error enum
  • Builder pattern
  • Full Rust type safety
사용 예시
use tcglookup::TCGLookup;

#[tokio::main]
async fn main() {
    let tcg = TCGLookup::builder()
        .api_key("your-api-key")
        .build();

    let results = tcg.search("charizard").await.unwrap();
    println!("{:?}", results);
}
GitHub →

TCG API로 개발을 시작하세요

무료 API 키를 발급받아 몇 분 안에 카드 가격 조회를 시작하세요.