simplissimetwitch/api-twitch 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

simplissimetwitch/api-twitch

Composer 安装命令:

composer require simplissimetwitch/api-twitch

包简介

Api Twitch PHP Client

README 文档

README

Installing SimplissimeTwitch

The recommended way to install SimplissimeTwitch is through Composer.

Next, run the Composer command to install the latest stable version of SimplissimeTwitch:

php composer.phar require SimplissimeTwitch/apitwitch

After installing, you need to require Composer's autoloader

require 'vendor/autoload.php';

You can then later update SimplissimeTwitch using composer:

php composer.phar update

SimplissimeTwitch is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.

  • Simple interface for building query strings, POST requests, streaming large uploads, streaming large downloads, using HTTP cookies, uploading JSON data, etc...

Change information on the class

/** Information of amended */
     const Streamer_Name = 'Name_Streamer'; //Replace valeur
     const Api_Twitch_ID = 'Api_Id_Twitch'; //Replace valeur
     const USER_ID_TWITCH = 'Id_Twitch'; //Replace valeur
require 'vendor/autoload.php';

use \SimplissimeTwitch\ApiTwitch as api;
$ui = new api();

id streamer :

$ui->getUsers('_id')

name streamer

$ui->getUsers('display_name')

total of follows :

$ui->follow('_total')

title of Live :

$ui->getstatus()

name of game :

$ui->getgame()

listing followers of streamer:

$ui->followListe()

Help and docs

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固