jleagle/omdb-imdb-api-client
最新稳定版本:0.2.0
Composer 安装命令:
composer require jleagle/omdb-imdb-api-client
包简介
A package to retrieve movies and TV information from IMDB using the API at omdbapi.com
README 文档
README
A package to retrieve movies and TV information from IMDB using the API at omdbapi.com with typed responses
Now that OMDB requires an API key you can set it using:
Imdb::setApiKey('xxx');
Retrieve full movie details, if you know the name or ID of the movie:
$movie = Imdb::retrieve('the matrix'); // If you need to be more specific: // This will also return Rotten Tomatoes ratings & a longer plot $movie = Imdb::retrieve('the matrix', Imdb::TYPE_MOVIE, 1999, true, true);
Search for a movie:
$movies = Imdb::search('the matrix'); // If you need to be more specific: $movies = Imdb::search('the matrix', Imdb::TYPE_MOVIE, 1999);
统计信息
- 总下载量: 2.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-06