PHP
PHP SDK
Official PHP SDK. PSR-compliant, PHP 8.1+.
Pag-install
$ composer require tcg-price-lookup/tcglookup Mga Pangunahing Feature
- ✓PHP 8.1+ support
- ✓Guzzle HTTP client
- ✓PSR-4 autoloading
- ✓Typed exception hierarchy
Halimbawa ng Paggamit
use TCGPriceLookup\TCGLookup;
$tcg = new TCGLookup(apiKey: 'your-api-key');
$results = $tcg->search('charizard');
print_r($results);
Simulan ang pagbuo gamit ang TCG API
Kumuha ng libreng API key at simulan ang pag-query ng mga presyo ng kard sa ilang minuto.