PHP code example of detailnet / denner-client

1. Go to this page and download the library: Download detailnet/denner-client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

detailnet / denner-client example snippets


// App-ID and App-Key are => '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);