slownls/twitch_api 问题修复 & 功能扩展

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

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

slownls/twitch_api

Composer 安装命令:

composer require slownls/twitch_api

包简介

A library for Twitch API in PHP

README 文档

README

A Simple library for Twitch API create in PHP.

Installation

To install this library use composer

composer require "slownls/twitch_api"

User functions

User::IsLogged() // Whether the user is logged in.

User::Logout() // Used to log the user out.

User::Login() // Used to redirect the user to the twitch login page.

User::Connect(string $code) // Used to connect the user with the twitch token.

User::GetLocalInfo(string $key) // Used to retrieve user's information

User::GetByName(string $userName) // Used to retrieve a user's information with their name.

User::SetChannel(\SlownLS\Twitch\Channel $channel) // Used to set the reference channel

User::HasChannel() // Whether the reference channel is defined

User::IsFollower() // Whether the user is the reference channel.

User::IsSubscriber() // Whether the user subscribes to the reference channel.

User::IsModerator() // Whether the user is the moderator of the reference channel.

User::FollowChannel() // Use to follow the reference channel

User::UnFollowChannel() // Use to no longer follow the reference channel

Channel functions

Channel::SetChannel(string $channelName) // Used to set the reference channel

Channel::HasChannel() // Whether the reference channel is defined

Channel::GetInfos() // Used to retrieve the channel information.

Channel::GetStream() // Used to retrieve the stream of the channel

Channel::GetName() // Used to retrieve the name of the channel

Channel::GetDisplayName() // Used to get the channel's poster name.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2020-03-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固