-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.js
84 lines (84 loc) · 2.85 KB
/
config.js
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
module.exports = {
"database": {
"username": process.env.DB_USERNAME || "",
"password": process.env.DB_PASSWORD || "",
"port": process.env.DB_PORT || "27017",
"uri": process.env.DB_URI || "localhost",
"collection": process.env.DB_COLLECTION || "PokeData"
},
"shared_database": {
"username": process.env.MLAB_USERNAME,
"password": process.env.MLAB_PASSWORD,
"uri": process.env.MLAB_URI,
"collection": process.env.MLAB_COLLECTION
},
"twitter": {
"consumer_key": process.env.CONSUMER_KEY,
"consumer_secret": process.env.CONSUMER_SECRET,
"token": process.env.ACCESS_TOKEN,
"token_secret": process.env.ACCESS_TOKEN_SECRET
},
"pokemonDataSources": {
"twitter": "TWITTER",
"pokesniper": "POKESNIPER",
"pokeRadar": "POKERADAR",
"skiplagged": "SKIPLAGGED",
"pokecrew": "POKECREW",
"fastpokemap": "FASTPOKEMAP",
"pokezz": "POKEZZ",
"pokedexs": "POKEDEXS",
"pokemap": "POKEMAP"
},
"sourceToFiller": {
"twitter": "twitter",
"rarePokemon": "rarePokemon",
"pokeRadar": "mapService",
"skiplagged": "mapService",
"pokecrew": "mapService",
"fastpokemap": "mapService",
"pokezz": "webSocket",
"pokedexs": "webSocket",
"pokemap": "mapService",
"hashPokemonGo": "hashPokemonGo",
},
"twitterKeyWords": 'caught #pokemongo,saw #pokemongo,found #pokemongo,appeared #pokemongo,attacked #pokemongo,pokemon catch,pokemon saw,pokemon attack,pokemon find,pokemon caught,pokemon attacked,pokemon found,pokemon appeared,#foundPokemon,#caughtPokemon,#pokemongo,a wild appeared until #pokemongo',
"pokesniper": {
"url": "https://pokesnipers.com/api/v1/pokemon.json?referrer=home",
"listeningInterval": 600000 // 10 minutes in milliseconds
},
"pokemonSpawnTime" : 900000 ,// 15 minutes in milliseconds,
"limit" : 1000,
"token" : process.env.API_TOKEN || "I0TPIIpCLH8lR8iDrCMV", //please choose secret token and communicate it privately
"server": {
"port": "8080"
},
"pokeRadar": {
"host": "www.pokeradar.io",
"path": "/api/v1/submissions"
},
"skiplagged": {
"host": "skiplagged.com",
"path": "/api/pokemon.php"
},
"pokecrew": {
"host": "api.pokecrew.com",
"path": "/api/v1/seens"
},
"fastpokemap": {
"host": "cache.fastpokemap.se",
"path": "/"
},
"pokezz": {
"host": "pokezz.com",
"path": "/socket.io/?EIO=3&transport=websocket"
},
"pokedexs": {
"host": "pokedexs.com",
"path": "/socket.io/?EIO=3&transport=websocket"
},
"pokemap": {
"host": "www.pokemap.net",
"path": "/api/mewto.php"
},
"hashPokemonGoWebSocketPort": 3322
};