-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to get videos #37
Comments
It is a feature not yet implemented. I will develop it as soon as possible. But, the implementation will not use your example. The second params 'option' of this call is to set option on response structure (as language of the response), not to add/search data. I think that I will add some new methods to get this type of data. |
This feature is now available in release 1.7. You can use it like this: $infos = $item->getMovie($movie['id']);
$responses = $infos->getVideos();
foreach ($responses as $response)
{
echo $response->getName();
} |
Thank you! I've found your wrapper to be quite useful. |
Am I doing something incorrectly? I'm not getting any results back (I was with my implementation of getVideos - a lot rougher, but it worked).
|
I can add use the following code to get TMdb to return videos to me, but I have no way to access them using the Items\Movie class.
$item->getMovie($movie['id'], ['append_to_response' => 'videos'])
The text was updated successfully, but these errors were encountered: