承接 jleagle/omdb-imdb-api-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 5
  • Watchers: 0
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-06