fsr / infoscreen

🖥 Der BananaPi powered Infoscreen im FSR-Büro
https://infoscreen.ifsr.de
10 stars 0 forks source link

Ingress Portal Status #8

Closed heisig closed 9 years ago

heisig commented 10 years ago

Display the portal status of the "Kunst" as a colored indicator

kiliankoe commented 10 years ago

10 minutes and no Dirksche Antwort. I am dissapoint.

dirkonet commented 10 years ago

Not possible without official Ingress API which still has no ETA. I know c-base has a portal table, but they are violating the TOS.

kiliankoe commented 10 years ago

Yeah, violating the TOS would be obvious in this case, but do we really care? ;) Scraping the intel map with an extra account would actually be a fun exercise. It's not like we're doing this on a large scale and we don't need updates every two seconds. Twice an hour would probably suffice for a little gimick.

dirkonet commented 10 years ago

Extra accounts are ALSO against the TOS ;) You are welcome to integrate https://github.com/c-base/ingress-table, though.

kiliankoe commented 10 years ago

I'm kinda surprised playing Ingress is in itself not a violation of the TOS ;) But thanks for the link!

dirkonet commented 10 years ago

Looks like some Niantic employees are cool with this kind of hack, see https://plus.google.com/+JohnHanke/posts/h8zKPGiCm2m . Go ahead and implement it, then!

dirkonet commented 9 years ago

If someone wants to go ahead and implement this, http://ingress.42.vc/portal.php?id=0 gives you the state for Datenautobahn, http://ingress.42.vc/portal.php?id=1 the state for the Skulptur. ENL/RES/GRY/UNK. Only works from FSR office LAN, currently updates not too often.

kiliankoe commented 9 years ago

How?! :open_mouth:

I'm gonna go ahead and see what I can do. What's GRY though?

dirkonet commented 9 years ago

ENL - Enlightened/Green RES - Resistance/Blue GRY - Neutral/Grey/Gray ;) UNK - what do I know?

kiliankoe commented 9 years ago

Oh, I thought UNK was somehow meaning uncaptured... Unknown then?

dirkonet commented 9 years ago

The backend/API now updates the state of our two portals every 10 minutes. Please adapt the frontend accordingly :)