From 075c26e94f16379b302570e689d244edef94cb04 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 5 May 2018 18:52:59 +0200 Subject: save data to file --- config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.js') diff --git a/config.js b/config.js index 5b35485..f2e0b4f 100644 --- a/config.js +++ b/config.js @@ -5,7 +5,7 @@ module.exports = { baseUrl: 'https://api.dc01.gamelockerapp.com', timeout: 5, regions: ['sg', 'eu', 'na'], - rpm: 50, + rpm: 5, modes: ['blitz_pvp_ranked'], }, etl: { @@ -17,4 +17,7 @@ module.exports = { group: ['Actor', 'Talent'], sum: ['Level', 'Winner'], }, + file: { + pattern: (moment) => `./data/${moment.week()}/${moment.toISOString()}.json`, + }, }; -- cgit v1.3.1