Example code describing how to use the Audiomack API.
- Example:
php-authuses thepear/http_oauthcomposer package available from https://github.com/pear/HTTP_OAuth (PHP)
To run the authentication example on your development machine, you can do the following:
cd php-authcomposer install- php -S localhost:3030
- Visit http://localhost:3030/ in your browser
- Run
composer updateto avoid Depreciation errors - add
set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ .'/vendor/pear/http_request2');to config.php to avoidWarning: require_once(HTTP/Request2.php): Failed to open stream: No such file or directory inerror.