Para obtener datos acerca de un vídeo concreto, podemos utilizar la situiente url:
http://vimeo.com/api/v2/video/video_id.output
video_id Es el identificador del video.
output El formato de salida. xml, php, json
Ejemplo
http://vimeo.com/api/v2/video/36657681.xml
Nos retornaría algo similar:
Para obtener la imagen preview del video con PHP utilizamos el siguiente código:
<?php
$imgid = 6271487; $hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$imgid.php")); echo $hash[0]['thumbnail_medium'];
Lo que nos retornará //http://b.vimeocdn.com/ts/251/503/251503380_200.jpg
?>