dev-lazarev/php-lol-api
Composer 安装命令:
composer require dev-lazarev/php-lol-api
包简介
League of Legends PHP API
README 文档
README
- Implemented almost all methods from https://developer.riotgames.com/api/methods
- Only takes the data from the server riot.
- Caching you should implement on its side.
#Requirements:
- php5.4 + , php7+
- libcurl
#Composer: composer require dev-lazarev/php-lol-api
#Example
$lolapi = new LolApi(<LOL_API_KEY>);
$summonerModel = $lolapi->getInstance('summoner');
$summonerData = $summonerModel->getByIds($region, [$summonerId]);
//or
$summonersData = $summonerModel->getByIds($region, $summonerIds);
#Use medhots: See https://developer.riotgames.com/api/methods
#License The MIT License (MIT)
#For questions or comments dev-lazarev.com
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-11