library/Garp/Service/Vimeo.php
public function video($videoId) {
        // check if a Vimeo URL is given
        $pattern = '~vimeo.com/(?:video/)?([0-9]+)~';
        if (preg_match($pattern, $videoId, $matches)) {
            $videoId = $matches[1];
        }
        return $this->request('video/' . $videoId);
    }
public function video($videoId) {
        // check if a Vimeo URL is given
        $pattern = '~vimeo.com/(?:video/)?([0-9]+)~';
        if (preg_match($pattern, $videoId, $matches)) {
            $videoId = $matches[1];
        }
        return $this->request('video/' . $videoId);
    }
public function video ( $ videoId ) { // check if a Vimeo URL is given $ pattern = '~vimeo.com/(?:video/)?([0-9]+)~' ; if ( preg_match ( $ pattern , $ videoId , $ matches ) ) { $ videoId = $ matches [ 1 ] ; } return $ this -> request ( 'video/' . $ videoId ) ; }
Make a Video request

@param String $videoId Video id or Vimeo URL
@return Array
Make a Video request