detailnet / denner-client
API Client for Denner Portal 2.0 Web Services
Installs: 4 190
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 3
Open Issues: 3
Requires
- php: ^8.2
- ext-json: *
- guzzlehttp/guzzle: ^7.7
- guzzlehttp/guzzle-services: ^1.4
- mtdowling/jmespath.php: ^2.6
Requires (Dev)
- phpspec/prophecy-phpunit: ^2.0
- phpstan/phpstan: ^1.10
- phpstan/phpstan-strict-rules: ^1.5
- phpunit/phpunit: ^9.6
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.7
- dev-main
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.1
- 4.0.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.1
- 3.0.0
- 2.1.0
- 2.0.0
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.0
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-feature/2600/find-advertised-article-by-selection
- dev-feature/2615/screen-advertised-articles
This package is auto-updated.
Last update: 2024-10-31 07:32:45 UTC
README
API Client for Denner Portal 2.0 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/denner-client": "^4.1" } }
-
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 = [ 'app_id' => 'your-app-id', 'app_key' => 'your-app-key', ]; // Create the client (e.g. the client for Denner Articles Service) $client = ArticlesClient::factory($config); // Send a request $params = ['week' => '50']; $response = $client->listAdvertisedArticles($params);
More examples can be found in the examples directory.