定制 maras0830/laravel5-twitch-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

maras0830/laravel5-twitch-api

Composer 安装命令:

composer require maras0830/laravel5-twitch-api

包简介

Laravel5 Twitch Api

README 文档

README

Laravel 5, Twitch Api v3.
See official documentation Twitch restful api link

適用於 Laravel 5 的 v3 版 API (2016.05.06)
查看官方文件 Twitch restful api link

2016.05.06 - 新增 Twitch post 功能。

Installation 安裝

將 package 加入 composer.json
Require the package in composer.json :

"maras0830/laravel5-twitch-api": "dev-master"

在 ``config/app.php加入 providers Inconfig/app.php``` add ```providers```

Maras0830\TwitchApi\Providers\ApiServiceProvider::class

In config/app.php add aliases

'TwitchApi'             => Maras0830\TwitchApi\Facades\ApiServiceFacade::class,

發行設定
Publish the config

php artisan vendor:publish --force

創建一個 twitch 的名稱於config/twitch-api.php ,並且根據 twitch 上所開的應用程式進行設定
Create a twitch application ( in your twitch settings page, Connections tab ) Create a client secret Add both client secret, client id to the twitch-api.php config

Change the scopes that the application needs to better suit your needs

Usage 使用

Blocks.md
Channel Feed.md

Waiting ... 待補..

Authentication 認證說明

Twitch api uses OAuth 2.0 protocol for authentication.
Twitch api 使用 OAuth 2.0 protocol 認證。

you need to sign up application with your domain on Twitch and you will get client_id & client_secret and can set up redirect_url.
您必須先在 Twitch 註冊一個專屬於這個域名的應用程式,接著將會得到 client_id and client_secret 並且建立 redirect_url

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-05-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固