summaryrefslogtreecommitdiff
path: root/config.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-05 13:52:50 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-05-05 13:52:50 +0200
commit63da93e9f443a799208c8e706616a828fa528a3e (patch)
treee0d540555cdca710645efb0ce061742ec55c8ec6 /config.js
parentc8dc06971c6dab447250bb81cca20836ed5b2772 (diff)
downloadbrokentalents-63da93e9f443a799208c8e706616a828fa528a3e.tar.gz
brokentalents-63da93e9f443a799208c8e706616a828fa528a3e.zip
move request param generation to own file, retry failed queries
Diffstat (limited to 'config.js')
-rw-r--r--config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.js b/config.js
index 8710e5d..5b35485 100644
--- a/config.js
+++ b/config.js
@@ -1,6 +1,13 @@
#!/usr/bin/node
module.exports = {
+ api: {
+ baseUrl: 'https://api.dc01.gamelockerapp.com',
+ timeout: 5,
+ regions: ['sg', 'eu', 'na'],
+ rpm: 50,
+ modes: ['blitz_pvp_ranked'],
+ },
etl: {
participant: [ ['Winner', ['attributes', 'stats', 'winner']] ],
roster: [ ],