Download the PHP package youailu1/codeswholesale-sdk without Composer
On this page you can find all versions of the php package youailu1/codeswholesale-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download youailu1/codeswholesale-sdk
More information about youailu1/codeswholesale-sdk
Files in youailu1/codeswholesale-sdk
Package codeswholesale-sdk
Short Description A PHP wrapper for CodesWholesale's API
License GPL-3.0-only
Homepage https://github.com/codeswholesale/codeswholesale-sdk-php
Informations about the package codeswholesale-sdk
CodesWholesale PHP SDK
CodesWholesale.com is an API-driven wholesale platform for digital game distribution. This is the CodesWholesale SDK for PHP that will enable developers to easily integrate API with any PHP-based application.
Installation
You can install codeswholesale-sdk-php via Composer or by downloading the source.
Via Composer:
codeswholesale-sdk-php is available on Packagist as the codeswholesale/sdk package.
Install Composer on your project root
curl -sS https://getcomposer.org/installer | php
Or download it from official page: https://getcomposer.org/download/
Configure the codeswholesale/sdk dependency in your 'composer.json' file:
"require": {
"codeswholesale/sdk": "2.1"
}
Install the latest SDK with its dependencies on your project root
php composer.phar install
Create your CodesWholesale account
If you don’t have an account yet, sign up at CodesWholesale and set up your API credentials:
- Create a CodesWholesale account and create your API keys in WEB API tab, under your profile name link. Save your keys in safe place. Your API password is visible only once.
Getting Started
-
Require the CodesWholesale PHP SDK via the composer auto loader
- Configure the client using the API keys
For production release, please remember to switch from SANDBOX endpoint to LIVE endpoint.
-
List all available platforms, regions, languages on the CodesWholesale platform
-
List all products from the price list
-
List all products from price list by language/platform/region
-
List all products from price list from the last 60 days
-
Fetch invoice for your order
-
Screen your customer before completing order
-
Check your order history
-
Single product details
-
Retrieve product description
-
Retrieve account details, balance value and available credit
-
Create order
-
Receive notifications about product changes via Codeswholesale postback request
To receive notifications from CodesWholesale, first you have to configure your postback URL that will be responsible for handling CodesWholesale requests. In order to do that, follow these steps:
- Sign in to CodesWholesale
- Go to API tab
- Configure and test your post back url
If the URL has been successfully configured, you should be able to handle CodesWholesale requests as follow
If you send test request from the API tab and your script is configured to work with sandbox environment, it will download ten fake images.
You can check "examples" directory for more samples and details.
Copyright & Licensing
Copyright © 2014 Codeswholesale
This project is licensed under the Apache 2.0 Open Source License.
For additional information, please see:
- fkooman OAuth2 client: https://github.com/fkooman/php-oauth-client
All versions of codeswholesale-sdk with dependencies
sainsburys/guzzle-oauth2-plugin Version ^3.0
guzzlehttp/guzzle Version 6.3.0