Download the PHP package covergenius/ebay-rest-php-sdk without Composer
On this page you can find all versions of the php package covergenius/ebay-rest-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download covergenius/ebay-rest-php-sdk
More information about covergenius/ebay-rest-php-sdk
Files in covergenius/ebay-rest-php-sdk
Package ebay-rest-php-sdk
Short Description https://developer.ebay.com/docs
License MIT
Informations about the package ebay-rest-php-sdk
Ebay REST PHP Sdk
Getting Started
Requirements
- PHP ^7.3
Installation
You can install this package by using Composer.
Creating the client
The create()
method for the available APIs allows a config as an array to be passed to it. This accepts the typical
configuration that you would pass to the Guzzle client. See the Guzzle docs https://docs.guzzlephp.org/en/stable/quickstart.html
Alternatively, you can create a new GuzzleHttp Client instance to pass into the API class' constructor.
Available APIs
Fulfillment API
Accessing the response
Testing
Running tests
Run composer test
to test all suites. Alternatively, you can run the commands below.
VCR tests
Important
-
You will need to generate a new access token and add it to the
EBAY_ACCESS_TOKEN
variable in your.env
file. Using your valid access token, you may delete a vcr tape associated with the test you want to re-record. - Resource IDs such as the
orderId
,refundId
etc. may need to be updated if they do not exist in the sandbox account you're using for re-recording tests.
Steps
- Delete the old VCR file associated with the test you want to re-record.
- Re-run your tests.
All versions of ebay-rest-php-sdk with dependencies
guzzlehttp/guzzle Version ^6.5|^7.1
guzzlehttp/guzzle-services Version ^1.1