Why does `/raw_data` show less Pokémons than the map and `/stats`?
Why does /raw_data show less Pokémons than the map and /stats? How to get all the Pokémons as shown on the map?
maybe you can connect to the db directly?
Can you guide me? Currently, I'm check the JS files.
@joaodragao You can set flags for displaying info with the raw_data post.
For example http://localhost/raw_data?gyms=false&pokemon=false&scanned=false&seen=true&duration=1h
Gives back all list of all pokemon that have showed their faces in the last hour.
{
"seen": {
"pokemon": [
{
"count": 2,
"disappear_time": 1470759390000,
"latitude": 1.00000000,
"longitude": -1.00000000,
"pokemon_id": 1,
"pokemon_name": "Bulbasaur"
},
...
{
"count": 4,
"disappear_time": 1470759250000,
"latitude": 1.00000000,
"longitude": -1.00000000,
"pokemon_id": 140,
"pokemon_name": "Kabuto"
}
],
"total": 7584
}
}
Take a look at https://github.com/PokemonGoMap/PokemonGo-Map/blob/develop/pogom/app.py#L78-L111 for all those specific strings.
And also https://github.com/PokemonGoMap/PokemonGo-Map/blob/develop/pogom/app.py#L27-L35 for the other features.
@GenuineSounds: Thanks! This is what I want :)