detailnet / jumbo-client
This package is abandoned and no longer maintained.
No replacement package was suggested.
API Client for Jumbo Web Services
2.0.1
2022-05-25 15:13 UTC
Requires
- php: ^7.4 || ^8.0.0
- ext-json: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/guzzle-services: ^1.2
- mtdowling/jmespath.php: ^2.6
Requires (Dev)
- phpspec/prophecy-phpunit: ^2.0
- phpstan/phpstan: ^0.12.19
- phpstan/phpstan-strict-rules: ^0.12.2
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.5
README
API Client for Jumbo Web Services
Installation
Install the library through Composer using the following steps:
-
cd my/project/directory
-
Create a
composer.json
file with following contents (or update your existing file accordingly):{ "require": { "detailnet/jumbo-client": "^2.0" } }
-
Install Composer via
curl -s http://getcomposer.org/installer | php
(on Windows, download the installer and execute it with PHP) -
Run
php composer.phar self-update
-
Run
php composer.phar install
Usage
See the following example for how to use the library:
// App-ID and App-Key are required to authenticate the client $config = array( 'app_id' => 'your-app-id', 'app_key' => 'your-app-key', ); // Create the client (e.g. the client for Jumbo Assets Service) $client = AssetsClient::factory($config); // Send a request $params = array('query' => 'test'); $response = $client->listAssets($params);
More examples can be found in the examples directory.