private function getDataByType($key, $type = 'photo')
    {
        $url = $this->getUrl($type, $key);

        return $this->getData($url);
    }
private function getDataByType($key, $type = 'photo')
    {
        $url = $this->getUrl($type, $key);

        return $this->getData($url);
    }
private function getDataByType ( $ key , $ type = 'photo' ) { $ url = $ this -> getUrl ( $ type , $ key ) ; return $ this -> getData ( $ url ) ; }
get Data By Type

@param  string $key
@param  string $type

@return array
get Data By Type