KeyMedia PHP API wrapper
composer require keyteqlabs/keymedia
$client = new Keyteq\Keymedia\KeymediaClient('username', 'keymediaURL', 'apiKey');
//In case you don't have the API key yet
$client = new Keyteq\Keymedia\KeymediaClient('username', 'keymediaURL');
$client->getToken('password');
$albums = $client->listAlbums();
// List album content
$mediaArray = $client->getAlbum('albumName');
// Search within album
$mediaArray = $client->getAlbum('albumName', 'searchTerm');
$mediaArray = $client->findMedia('searchTerm');
$media = $client->getMedia('id');
$type = $media->getType();
$isImage = $media->isImage();
$url = $media->getUrl();
$thumbnailUrl = $media->getThumbnailUrl($width, $height);