Merge branch 'main' of ssh://git.nwb.fr:22050/modules-communs-php/multi-downloader-client
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mathieu 2024-01-12 14:59:05 +00:00
commit 767a246419

View File

@ -32,7 +32,7 @@ $client = new MultiDownloaderClient([
'apiKey' => '', 'apiKey' => '',
'apiSecret' => '', 'apiSecret' => '',
'url' => '', 'url' => '',
]) ]);
``` ```
## Usage ## Usage
@ -45,7 +45,7 @@ use Nwb\MultiDownloaderClient\FileRequest;
$client = new MultiDownloaderClient(); $client = new MultiDownloaderClient();
$client->addFiles([ $client->addFiles([
new FileRequest('http://example.com/image.png') new FileRequest('http://example.com/image.png'),
new FileRequest('http://example.com/image1.png') new FileRequest('http://example.com/image1.png')
]); ]);
``` ```