PHP
PHP SDK
SDK PHP อย่างเป็นทางการ รองรับ PSR PHP 8.1+
ติดตั้ง
$ composer require tcg-price-lookup/tcglookup ฟีเจอร์หลัก
- ✓PHP 8.1+ support
- ✓Guzzle HTTP client
- ✓PSR-4 autoloading
- ✓Typed exception hierarchy
ตัวอย่างการใช้งาน
use TCGPriceLookup\TCGLookup;
$tcg = new TCGLookup(apiKey: 'your-api-key');
$results = $tcg->search('charizard');
print_r($results);
เริ่มสร้างด้วย TCG API
รับคีย์ API ฟรีและเริ่มค้นหาราคาการ์ดภายในไม่กี่นาที