node-exaroton-api:Node.js exaroton API客户端

时间:2021-05-13 05:24:35
【文件属性】:
文件名称:node-exaroton-api:Node.js exaroton API客户端
文件大小:31KB
文件格式:ZIP
更新时间:2021-05-13 05:24:35
JavaScript Node.js exaroton API客户端 关于 exaroton API允许自动访问游戏服务器的某些基本功能,例如启动或停止服务器。 您可以在此处阅读API文档: : 这是此API的官方Node.js实现。 安装 npm install exaroton 用法 要使用该API和此客户端,您必须获取您的API密钥,可以在您的exaroton帐户设置中生成该密钥: ://exaroton.com/account 创建一个客户端对象 const { Client } = require ( 'exaroton' ) ; const client = new Client ( token ) ; 请记住要对令牌保密,不要将其添加到任何私有或公共代码存储库中。 REST API 获取帐户信息 let account = await client . getAccount ( ) ;
【文件预览】:
node-exaroton-api-master
----.gitignore(32B)
----package.json(385B)
----package-lock.json(24KB)
----src()
--------Account()
--------Client.js(4KB)
--------Response()
--------Request()
--------Error()
--------Websocket()
--------Server()
----LICENSE(1KB)
----index.js(301B)
----README.md(9KB)

网友评论