Download the PHP package bacanu/blwrap without Composer
On this page you can find all versions of the php package bacanu/blwrap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bacanu/blwrap
More information about bacanu/blwrap
Files in bacanu/blwrap
Download bacanu/blwrap
More information about bacanu/blwrap
Files in bacanu/blwrap
Vendor bacanu
Package blwrap
Short Description A very light utility class for the Bricklink API
License MIT
Package blwrap
Short Description A very light utility class for the Bricklink API
License MIT
Please rate this library. Is it a good library?
Informations about the package blwrap
BLWrap
A very thin class that helps you make requests to the BrickLink API
The heavy lifting is done by guzzlehttp/guzzle and guzzlehttp/oauth-subscriber.
If you just want a simple way to make and sign request, you can use the above two packages and skip blwrap entirely.
Installation
composer require bacanu/blwrap
Usage
GET request
$config = [
"consumerKey" => "[replace]",
"consumerSecret" => "[replace]",
"tokenValue" => "[replace]",
"tokenSecret" => "[replace]",
];
$bl = new Client($config);
$result = $bl->execute('get', 'inventories/1');
//OR if you want request parameters
$result = $bl->execute('get', 'orders', [
"direction" => "in",
"filed" = "false"
]);
POST, PUT, DELETE requests
$config = [
"consumerKey" => "[replace]",
"consumerSecret" => "[replace]",
"tokenValue" => "[replace]",
"tokenSecret" => "[replace]",
];
$bl = new Client($config);
$result = $bl->execute('put', 'inventories/1', [
"quantity" => "+2"
]); All versions of blwrap with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
guzzlehttp/guzzle Version ~6.0@dev
guzzlehttp/oauth-subscriber Version 0.3.*
guzzlehttp/guzzle Version ~6.0@dev
guzzlehttp/oauth-subscriber Version 0.3.*
The package bacanu/blwrap contains the following files
Loading the files please wait ...