PHP code example of lildude / phpsmug
1. Go to this page and download the library: Download lildude/phpsmug 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/ */
lildude / phpsmug example snippets
// This file is generated by Composer
ptions
$options = [
'AppName' => 'My Cool App/1.0 (http://app.com)',
];
$client = new phpSmug\Client("[YOUR_API_KEY]", $options));
$albums = $client->get('user/[your_username]!albums');