Googer / Professor-Pine

Official repository for the Professor Pine Pokemon GO raid coordination Discord bot
GNU General Public License v3.0
15 stars 19 forks source link

JSON Feed for Raids #27

Open cngodles opened 5 years ago

cngodles commented 5 years ago

Creation of a page/endpoint that returns a JSON feed of current raid channels.

Data requested:

Name
lat
lng
star/egg/boss
Hatch Time
Expire Time
boss pokemon name or pokedex id no.

Nice to have:

Count of people interested
Count of people coming
Count of people here
Count of people done
Ability to Query Individual Raid for updated data

Background

I have wanted to integrate raid data into my research app, Pitt PokeResearch. I built the framework for displaying raids and keeping local data, but my ability to create this feature in Professor Pine has been limited. As previously discussed, all raids displayed this way would feature a link back to access the Discord Channel directly for coordination, etc,. The map is used for a quick visual indicator of what active channeled raids are available, but the goal is to get users over to Discord.

The other part of this would be providing custom research feeds for the PGP Discord to display as well. As users report research within the app, the data could be fed into channels in a way designed and approved by whoever is makes decisions for PGP.

Another limitation was having the app fully launched, but as of late January, it is now fully available in both APP stores

Raid Sample: https://i.imgur.com/dGYF4sB.gifv

Live Research JSON (2.1 Mile Radius): https://eggs.15656.com/poke-research/pgp-r.php Live Pokestop Data JSON (2.1 Mile Radius): https://eggs.15656.com/poke-research/pgp.php

Links to Download App

cngodles commented 5 years ago

Basic raid data overview and single created and it looks good! Next steps: