src/Adapter/YandexAdapter.php
private function getUrl($type, $key)
    {
        switch ($type) {
            case 'album':
                $url = 'album/%s/';
                break;
            case 'photo':
                $url = 'photo/%s/';
                break;
            case 'albumPhotos':
                $url = 'album/%s/photos/';
                break;
            case 'albums':
                $url = 'albums/';
                break;
            case 'tags':
                $url = 'tags/';
                break;
            case 'tag':
                $url = 'tag/%s/photos/';
                break;
            default:
                $url = '/';
        }

        return sprintf($url, $key);
    }
private function getUrl($type, $key)
    {
        switch ($type) {
            case 'album':
                $url = 'album/%s/';
                break;
            case 'photo':
                $url = 'photo/%s/';
                break;
            case 'albumPhotos':
                $url = 'album/%s/photos/';
                break;
            case 'albums':
                $url = 'albums/';
                break;
            case 'tags':
                $url = 'tags/';
                break;
            case 'tag':
                $url = 'tag/%s/photos/';
                break;
            default:
                $url = '/';
        }

        return sprintf($url, $key);
    }
get Api Url

@param  string $type album|photo|albumPhotos|albums or base path
@param  string $key

@return string