没有合适的资源?快使用搜索试试~ 我知道了~
node-steamapi:适用于Node.js的不错的Steam API包装器
共25个文件
js:20个
gitignore:1个
md:1个
需积分: 20 1 下载量 158 浏览量
2021-04-28
19:17:54
上传
评论
收藏 16KB ZIP 举报
温馨提示
SteamAPI 设置 安装 npm i steamapi 获取API密钥 登录Steam之后,转到生成一个API密钥。 用法 首先,我们首先将SteamAPI设置为“用户”。 const SteamAPI = require ( 'steamapi' ) ; const steam = new SteamAPI ( 'steam token' ) ; 现在,我们可以在steam对象上调用方法了。 例如,让我们检索用户的SteamID64。 SteamAPI提供了一种resolve方法,该方法接受URL和ID。 steam . resolve ( 'https://steamcommunity.com/id/DimGG' ) . then ( id => { console . log ( id ) ; // 76561198146931523 } ) ; 现在,让我们获取该I
资源推荐
资源详情
资源评论
收起资源包目录
node-steamapi-master.zip (25个子文件)
node-steamapi-master
.gitattributes 18B
src
SteamAPI.js 13KB
utils
objectify.js 800B
fetch.js 1KB
structures
PlayerBadges.js 388B
GameServer.js 607B
PlayerBans.js 606B
Badge.js 494B
PlayerStats.js 409B
PlayerAchievements.js 361B
RecentGame.js 373B
Game.js 415B
Friend.js 394B
Server.js 345B
PlayerSummary.js 1KB
PlayerServers.js 802B
Achievement.js 440B
Player.js 211B
.npmignore 29B
test
test.js 2KB
cfg.js 20B
README.md 15KB
.gitignore 23B
index.js 43B
package.json 639B
共 25 条
- 1
资源评论
Tstormatroc
- 粉丝: 28
- 资源: 4526
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功