diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-05 18:52:59 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-05 18:52:59 +0200 |
| commit | 075c26e94f16379b302570e689d244edef94cb04 (patch) | |
| tree | 08a0edad5703910f557707b16f8f9a032df34e84 /config.js | |
| parent | 63da93e9f443a799208c8e706616a828fa528a3e (diff) | |
| download | brokentalents-075c26e94f16379b302570e689d244edef94cb04.tar.gz brokentalents-075c26e94f16379b302570e689d244edef94cb04.zip | |
save data to file
Diffstat (limited to 'config.js')
| -rw-r--r-- | config.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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`, + }, }; |
