PHP
PHP SDK
Virallinen PHP SDK. PSR-yhteensopiva, PHP 8.1+.
Asennus
$ composer require tcg-price-lookup/tcglookup Pääominaisuudet
- ✓PHP 8.1+ support
- ✓Guzzle HTTP client
- ✓PSR-4 autoloading
- ✓Typed exception hierarchy
Käyttöesimerkki
use TCGPriceLookup\TCGLookup;
$tcg = new TCGLookup(apiKey: 'your-api-key');
$results = $tcg->search('charizard');
print_r($results);
Aloita kehittäminen TCG API:lla
Hanki ilmainen API-avain ja aloita korttien hintojen hakeminen minuuteissa.