PHP code example of 96qbhy / acrcloud
1. Go to this page and download the library: Download 96qbhy/acrcloud 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/ */
96qbhy / acrcloud example snippets
use Qbhy\AcrCloud\AcrCloud;
'host' => 'https://cn-api.acrcloud.com',
'access_key' => 'ACR_ACCESS_KEY',
'secret_key' => 'ACR_SECRET_KEY',
];
$acr = new AcrCloud($config);
dump($acr->bucket->getAll());
dump($acr->audio->getAll('your_bucket_name'));
dump($acr->channel->getAll('your_bucket_name'));