【文件属性】:
文件名称:*ofclans.js:强大JavaScript库,用于与《部落冲突》 API进行交互
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-12 09:41:03
*ofclans *api *-of-clans *-of-clans-api JavaScript
强大JavaScript库,用于与《部落冲突》 API进行交互
安装
必须安装Node.js v14.0.0或更高版本。
NPM版本npm i *ofclans.js
GitHub版本npm i *perk/*ofclans.js
对于Node.js 12.x npm i *perk/*ofclans.js#stable
客户
代表《部落冲突》 API
.league(leagueId)
.leagueSeason(leagueId,选项)
.leagueRanking(leagueId,seasonId,选项)
.warLeagues(选项)
.warLeague(leagueId)
.locations(选项)
.location(locationId)
.clanRanks(locationId,选项)
.playerR