I made a node.js powered Pokemon Go detecting slackbot
It was a pretty fun one day build I did Sunday. Cleaned it up with docs and command line interface today. Hopefully someone out there will enjoy it.
Posted Aug 15, 2016, 9:30 PM UTC
It was a pretty fun one day build I did Sunday. Cleaned it up with docs and command line interface today. Hopefully someone out there will enjoy it.
Posted Aug 15, 2016, 9:30 PM UTC
You are an amazing monster that will prevent my work from getting anything done. I'm going to deploy it tonight. I'll let you know how it goes!
If there are any problems let me know. This was a rush build so there's no tests. I ran it all day at work with no issues. Deploying on our 3d printing octoprint server so it won't have to run on my laptop tomorrow.
Ran it, looks like it's not getting past pokeGo.init for me...
[dev@dev-ec2 pokemon-go-slackbot]$ node chatbot.js -c ./config_baltimore.json
Bot started
Connecting to Pokemon API...
[i] Logging with user: sikosmurf
[i] Session token: <snip>-sso.pokemon.com
[i] Received PTC access token!
I added a probing statement before the call and within the callback. It gets the access token, but then doesn't do anything afterwards. I literally just registered for a trainer account. think that could be it?
I think you have to catch your first pokemon first - I did at least.
The trainer club account by itself doesnt create an account within the game.
Just did all that, though I haven't hit a poke stop, and it's still sticking in the same spot. Guess I'll have to work on it tomorrow :-/
Enjoy it while you can. Eventually you will get a cease and desist order from Niantic like pokemongo map did
Fingers crossed then.
It will be found they're are monitoring this significantly based on their news release about third party apps and sites.
OK.
You have some random quotes on line 40 :)
Nice catch, thanks! Fixed and deployed.