Download the PHP package rocket-labs/sellercenter-sdk-php without Composer

On this page you can find all versions of the php package rocket-labs/sellercenter-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sellercenter-sdk-php

1) Requirements

PHP 5.5 and later.

Composer

You can install the sdk via Composer. Run the following command:

To use the sdk code, use Composer's autoload:

2) Implemented methods

These methods can be accessed through RocketLabs\SellerCenterSdk\Endpoint\Endpoints class:

All another methods you can call with GenericRequest, for more information please look at this one for POST-methods.

3) Samples

To understand how to work with the SDK, please look at samples. To make the samples work, change the API settings in samples/config/config.php. You need to set up the SellerCenter URL (only https is supported), your login and API key.

API key can be found in your SellerCenter account under Settings > Manage Users. If a given user has no API key yet, generate it by clicking a corresponding link.

After this you can run any sample and see the real results requests.

Please note, that POST requests could affect on your real products, orders etc. Make sure that SKUs or Order IDs in samples are not intersect with data in your SellerCenter account.

3.1) Generic Samples

You can access every API Method by using the GenericRequest class and the core implementation.

see sample in action

3.1) Endpoints Samples

For the most important API endpoints the SDK provides facades for simple API usage. See endpoint samples here.

The following code describes the pattern how to use the endpoints implementation:

see a sample in action

open file of a sample. For example samples/endpoint/order/getOrder.php, and change the variable $orderId to contain order id of your seller. Then run it in the console:


All versions of sellercenter-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
guzzlehttp/guzzle Version ~6.1
psr/http-message Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rocket-labs/sellercenter-sdk-php contains the following files

Loading the files please wait ....