Video Search Documentation (php sdk)

Hi,
Trying to search videos by their name with the php SDK, I was’nt able to find what I was supposed to find. When I use the keyword parameter, I get all videos. When I try with the metadata parameter, it return nothing.
So, I assume that I don’t use it correctly, is it possible to have a documentation with more information about this specific query please?

Have a good day,
Thank you,
Sylvain

Hi,
We are currently investigating the problem you are experiencing and we will get back to you as soon as possible.

Best Regards.

Anthony

Hi,

After studying and analyzing your problem, it seems that the keyword search has been confusing for users. As a result, we made the decision to change the search by keyword and replace it with a title or description search in addition to the existing search for tags and metadata. The documentation has been updated and you can now search with the SDK on the title or on the description as follows:

$client = new ApiVideo\Client\Client('XXXX');

// Will return all videos with title equal to "This is a title"
// Same for description parameter
$videos = $client->videos->search(array('title' => 'This is a title'));

// Will return all videos whose title contains "Test" in their title.
// Same for description parameter
$videos = $client->videos->search(array('title' => 'Test'));

Best regards.

Anthony

2 Likes