Search code examples
vimeo

Vimeo api usage


I have an application in which you can search for videos repeatedly. Do I need to new Vimeo everytime I call $vimeo->request?

$vimeo = new Vimeo(APPLICATION_ID, APPLICATION_SECRET, ACCESS_TOKEN);

$vimeo->request('/videos?query=cars');

Solution

  • You only need to construct a new instance of the Vimeo object if you want to switch to different application id's secrets, or tokens.