quocvu88 / ebay-sdk
Ebay SDK
Installs: 35
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:php
Requires
- php: >=5.5.0
This package is auto-updated.
Last update: 2025-03-01 00:31:40 UTC
README
This is SDK for PHP connect to eBay API.
To install: Run this command
composer require quocvu88/ebay-sdk
Quick Example:
require_once __DIR__ . '/vendor/autoload.php';
$config = [
'appId' => 'Your-Application-ID',
'devId' => 'Your-Developer-ID',
'certId' => 'Your-Certificate-ID',
'serverUrl' => 'https://api.ebay.com/ws/api.dll',
'compatLevel' => 1149,
'siteID' => 0
];
$token = 'Your-Store-Token';
$client = new quocvu88\eBayAPI\Client\TraditionalSellingTradingClient($config, $token, 'array');
$response = $client->getItem(
[
'itemID' => 'item-id',
'IncludeItemSpecifics' => true
]
);
echo '<pre>';
print_r($item->getContent());
echo '</pre>';