Discovery Gaming Community
Discovery API accessible? - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Welcome (https://discoverygc.com/forums/forumdisplay.php?fid=399)
+--- Forum: Help & Support (https://discoverygc.com/forums/forumdisplay.php?fid=26)
+--- Thread: Discovery API accessible? (/showthread.php?tid=187293)



Discovery API accessible? - Mercury - 04-06-2021

Dear developers!

I've had an idea of making a little activity logger app and host it on my Raspberry Pi 24/7. My goal would be to log player count over time and most active systems, and to display the results on a graph / colored navmap image. I would make it accessible for the whole community. To make things smooth I would like to have access to an API key to get "https://api.discoverygc.com/api/Online/GetPlayers/dev". Only of course if I - a humble mortal - can get such a valued thing Smile . If it's off-limits to everyone except devs I understand and I won't bother you with my silly ideas Smile

P.S. I would need maximum 1 request per minute


Have a nice day!
Mercury


RE: Discovery API accessible? - Xenon - 04-06-2021

Players Activity
https://discoverygc.com/forums/api_interface.php?action=players

Factions Activity
https://discoverygc.com/forums/api_interface.php?action=faction_summary

Players Online
https://discoverygc.com/forums/api_interface.php?action=players_online



RE: Discovery API accessible? - Laz - 04-06-2021

I think he's probably more after this: https://api.discoverygc.com/

You'll need to speak with @Alex. to get an API Key in order to use it.
Edit: I actually read the question and notice he already found the url. You can make a player request to get an api key issued.


RE: Discovery API accessible? - Alex. - 04-06-2021

I don't mind issuing an API key for this but I think it's worth baring in mind what we already have at https://stats.discoverygc.com/d/uAQrKYmZz/game?orgId=1 and the problems with it.


RE: Discovery API accessible? - Mercury - 04-07-2021

Thank you for your answers. Alex, I sent you a PM