承接 macklus/yii2-themdb 相关项目开发

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

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

macklus/yii2-themdb

Composer 安装命令:

composer require macklus/yii2-themdb

包简介

The Movie DB API Client for yii2

README 文档

README

The Movie DB API Client for yii2

Features

  • Implements most of The Movie DB API methods
  • Respect API limits, and wait if you are near to overpass API limit
  • Simple usage
  • Simple download of related images
  • Log info messages using Yii::info for you to know when sleep due to API limits

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist macklus/yii2-themdb "*"

or add

"macklus/yii2-themdb": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

use macklus\themdb\Tmdbapi;

class SiteController extends Controller
{
    public function actionTest()
    {
        $tmdb = new Tmdbapi();
        $tmdb->api_key = '__INSERT_HERE_YOUR_API_KEY__';
        if ($tmdb->getTvSeason(46952, 3, ['language' => 'es'])) {
            print_R($tmdb->data);
        } else {
            echo 'error';
        }

		// Find something by his imdb_id
		$tmdb->findByExternal('imdb_id', 'tt0816692', ['language' => 'es']);

    }
}```

统计信息

  • 总下载量: 83
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-12-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固