Battlerite API 节点 SDK

Battlerite-node是一个 Node.js SDK,可用于访问官方 Battlerite API。要开始使用,请通过 npm 安装模块: npm install --save battlerite-node。使用该模块前,需要配置您的 API 密钥: Battlerite.config({key: 'yourAPIkey'})。要获取比赛列表,请使用: Battlerite.Match.getList().then((matches) => { matches.forEach(doSomethingWithMatchData); }).catch(console.error);

zip 文件大小:439.33KB