fortnite-api-io:NodeJs模块,用于向fortniteapi.io发出请求

时间:2021-05-12 09:36:39
【文件属性】:
文件名称:fortnite-api-io:NodeJs模块,用于向fortniteapi.io发出请求
文件大小:44KB
文件格式:ZIP
更新时间:2021-05-12 09:36:39
JavaScript Fortnite-api-io 用于对进行API调用的简单包装模块。 转到以注册帐户并获取API密钥。 您也可以阅读以获取受支持的呼叫列表。 安装模块 npm install fortnite-api-io 要求并实例化 const FortniteAPI = require ( "fortnite-api-io" ) ; // Instantiate with API Credentials const client = new FortniteAPI ( "credentials-go-here" , { defaultLanguage : 'en' , // Optional - will default to 'en' ignoreWarnings : false // Optional -will default to false } ) ; 示例API调用
【文件预览】:
fortnite-api-io-master
----.github()
--------workflows()
----lib()
--------endpoints-v2.js(875B)
--------fortnite-api-v2.js(4KB)
--------fortnite-api.js(17KB)
--------endpoints.js(3KB)
--------base-client.js(2KB)
--------util.js(703B)
----LICENSE(1KB)
----test()
--------.eslintrc.yml(18KB)
--------fortnite-api.js(4KB)
--------endpoints.js(2KB)
--------util.js(656B)
--------index.js(302B)
----README.md(2KB)
----.gitignore(59B)
----index.js(255B)
----package-lock.json(96KB)
----package.json(868B)

网友评论