dimotsai / pokemongo-notification

A Telegram bot that can push notifications of Pokemon spawn locations to a channel (or a group).
https://telegram.me/HsinchuPMGOAlert
MIT License
11 stars 4 forks source link

this thing still works? #9

Open miguering opened 7 years ago

miguering commented 7 years ago

I've followed all your steps correctly (I think so) and I always get a status 504 - "" error.

What's going on? I use pokeradar as radar. The rest of the radars are not working (I think). Is there a way to fix it? thank you.

dimotsai commented 7 years ago

@miguering It seems that the website of PokeRadar is no longer available.

miguering commented 7 years ago

What alternatives are availables? My living country is Spain... I know that the app PokeTrack (Android) works fine but they dont have a website with a map.

dimotsai commented 7 years ago

The providers that I wrote were mostly for Taiwan only. I cannot guarantee that those maps work for your country. :( But you still can write your own provider if you want. By the way, we use this project along with PokemonGo-Map at most of time.

miguering commented 7 years ago

Lol I dont even know how to write my own provider. Could you teach me or give me some advices? Is there a tutorial I can follow in order to reach that? It would be awesome.

dimotsai commented 7 years ago

This project is basically a Telegram bot which fetches data from other websites and then pushes notifications to users or groups. Take PokeTrack as the example. First, you have to decompile the .apk and extract the API. Then you create a new provider class that extended Provider and implement constructor, init and getPokemons just like the provider of PokeRader.

miguering commented 7 years ago

Ok, I've found some sites working. Could you make them compatible with the bot?

Pokehunter.co Pokesearch.ch

It would be awesome... Thank you