2017 © Pedro Peláez
 

library banggood-php-sdk

Unofficial PHP SDK for banggood.com

image

bigpaulie/banggood-php-sdk

Unofficial PHP SDK for banggood.com

  • Thursday, July 26, 2018
  • by bigpaulie
  • Repository
  • 2 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 58 % Grown

The README.md

banggood-php-sdk Build Status

This is an unofficial PHP SDK for Banggood API, (*1)

The official documentation can be found here, (*2)

If you have any issues with the API and not necessarily with the SDK please address to Banggood support team rather than opening a issue here., (*3)

Installation

Install the package via composer using :, (*4)

composer require bigpaulie/banggood-php-sdk

Usage

Make sure you autoload the annotations before you use the SDK by including the following line of code before instantiating the SDK, (*5)

/**
 * Autoload Annotations
 * This is used to deserialize a JSON string intro an object
 */
\Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists');

Using a builder

You can create an instance of BanggoodClient using a builder., (*6)

$credentials = new Credentials('appid', 'appsecret');
$client = (new BanggoodClientBuilder())
            ->credentials($credentials)
            ->environment(BanggoodClientFactory::TYPE_PRODUCTION)
            ->build();

Contributions

There are many ways you can contribute to the project. If you found a bug please report it as an issue, or create a fork fix the bug and submit a pull-request., (*7)

Please maintain the coding style and testing pattern !, (*8)

The Versions

26/07 2018

dev-master

9999999-dev

Unofficial PHP SDK for banggood.com

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul P.