-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
56 lines (53 loc) · 1.45 KB
/
constants.js
File metadata and controls
56 lines (53 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
const dotenv = require('dotenv');
const twilio = require('twilio');
// Load env variables
if (process.env.NODE_ENV !== 'production') {
dotenv.config();
}
// Odds API
exports.ODDS_API_BASE_URL = 'https://api.the-odds-api.com/v3/odds';
exports.ODDS_API_KEY = process.env.ODDS_API_KEY;
// Twilio API
const accountSid = process.env.TWILIO_ACCOUNT_SID;
const authToken = process.env.TWILIO_AUTH_TOKEN;
exports.smsClient = new twilio(accountSid, authToken);
exports.smsFrom = process.env.SMS_FROM;
exports.smsTo = ['+19162206791', '+19549808358'];
// Constants
exports.ODDS_ADJUSTMENT = 0.03;
exports.OVERALL_STAKE = 200;
exports.SITE_BLOCKLIST = [
// 'draftkings',
// 'fanduel',
// 'williamhill_us',
// 'caesars',
// 'betmgm',
// 'sugarhouse',
// 'betrivers',
// 'betfair',
// 'unibet',
];
exports.SITE_ALLOWLIST = ['bovada'];
exports.SPORT_KEYS = [
// 'americanfootball_ncaaf',
// 'americanfootball_nfl',
// 'basketball_euroleague',
// 'basketball_nba',
// 'basketball_ncaab',
// 'icehockey_nhl',
// 'mma_mixed_martial_arts',
// 'soccer_efl_champ',
// 'soccer_england_league1',
// 'soccer_england_league2',
// 'soccer_epl',
// 'soccer_france_ligue_one',
// 'soccer_germany_bundesliga',
// 'soccer_italy_serie_a',
// 'soccer_italy_serie_b',
// 'soccer_netherlands_eredivisie',
// 'soccer_spain_la_liga',
// 'soccer_turkey_super_league',
// 'soccer_uefa_champs_league',
// 'soccer_uefa_europa_league',
'baseball_mlb',
];