PHP
PHP SDK
SDK PHP chính thức. Tuân thủ PSR, PHP 8.1+.
Cài đặt
$ composer require tcg-price-lookup/tcglookup Tính năng chính
- ✓PHP 8.1+ support
- ✓Guzzle HTTP client
- ✓PSR-4 autoloading
- ✓Typed exception hierarchy
Ví dụ sử dụng
use TCGPriceLookup\TCGLookup;
$tcg = new TCGLookup(apiKey: 'your-api-key');
$results = $tcg->search('charizard');
print_r($results);
Bắt đầu xây dựng với TCG API
Nhận khóa API miễn phí và bắt đầu truy vấn giá thẻ bài trong vài phút.