danielvdbilt/omdb-php
Composer 安装命令:
composer require danielvdbilt/omdb-php
包简介
PHP API for omdb movie database with: movie info, imdb scores and rotten tomatoes scores
README 文档
README
PHP API for omdb movie database with: movie info, imdb scores and rotten tomatoes scores. Sign up as Patron at http://www.omdbapi.com/ for API calls and movie posters.
Download
Add the library with composer
composer require danielvdbilt/omdb-php
Usages
Finding movie by title, year is optional
$Omdb = new \Omdb(); $result = $Omdb->findByTitle('The Godfather', 1972);
Finding movie by IMDb ID
$Omdb = new \Omdb(); $result = $Omdb->findByID('tt0068646');
Find movie(s) by search key
$Omdb = new \Omdb(); $result = $Omdb->find('The Godfather');
Get poster (you need an API key for this), height is optional
$Omdb = new \Omdb(); $result = $Omdb->findPoster('tt0068646', 1000);
统计信息
- 总下载量: 243
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-11-14