文件名称:giantbomb_api:适用于Node.js的GiantBomb API Explorer(肯定已弃用)
文件大小:2.02MB
文件格式:ZIP
更新时间:2024-06-01 05:01:17
JavaScript
GiantBomb API资源管理器 专为node.js制作(那是4年之前的) 安装 npm install giantbomb-api 示范 var GBAPI = require ( './main.js' ) ; var apiToken = 'your-api-token' ; //required! var responseLimit = 3 ; //defaults to a 100, but 3 is goot to test var cacheHours = 0 ; //defaults to 0 as disabled var gb = new GBAPI ( apiToken , responseLimit , cacheHours ) ; // now, start making some requests to see how it works! gb . pl