Toniq
Toniq

Reputation: 4996

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');

Upvotes: 0

Views: 328

Answers (1)

Dashron
Dashron

Reputation: 3998

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.

Upvotes: 1

Related Questions