Rust
Rust SDK
SDK Rust רשמי. תמיכה ב-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);
}
התחל לפתח עם TCG API
קבל את מפתח ה-API החינמי שלך והתחל לשאול על מחירי קלפים תוך דקות.