Game Data API
Posted: Sat Apr 21, 2018 2:21 am
Hello,
I have mentioned it a few times but thought I would try to formalize a discussion:
Presumably ENT collects quite a bit of pretty interesting game data by hosting loads of games. I was wondering to what extent others too would find it interesting to have some kind of public data api available so that developers could make things like Discord bots with more advanced stat features, or analyse large volumes of replays.
Just an example of what I mean (I am assuming a database schema somewhat similar to default GHost++):
https://api.entgaming.net/player/anders?limit=30
Get the last hundred games played with W3MMD data (if applicable), stay time, timestamps, gameids etc.
https://api.entgaming.net/game/2219
Get an overview of game 2219 statistics including the replay link, duration, timestamp, players and their ids etc.
https://api.entgaming.net/bots
Get a list of all of the running bots
https://api.entgaming.net/bots/5
Get a list of all of the games currently being hosted by the botid=5 and players playing
https://api.entgaming.net/bots/5/lobby
Get the players in the lobby with botid=5
etc.etc. obviously just RESTish but with a bit of spice
--
Now ideally this would be, in the spirit of GHost++, some kind of open source project which would really be more of a community project which ENT happens to run on their platform. That way other wc3 communities would also be able to use it provided they use a GHost-esq db schema (*cough* MMH *cough* hehe ).
Personally I think one of the most interesting features of hosting using bots instead of by player (apart obviously from stuff like cross-realm, latency etc) is that there is LoAdS of data that is being collected but from what I see not so much being done with it.
If I don't get completely shot down (which I am okay with its just an idea ) I would be more than happy to start the project, I actually already have a lot of this kind of stuff written from when I was hosting myself.
I'm eager to hear thoughts!
Cheers,
Anders
I have mentioned it a few times but thought I would try to formalize a discussion:
Presumably ENT collects quite a bit of pretty interesting game data by hosting loads of games. I was wondering to what extent others too would find it interesting to have some kind of public data api available so that developers could make things like Discord bots with more advanced stat features, or analyse large volumes of replays.
Just an example of what I mean (I am assuming a database schema somewhat similar to default GHost++):
https://api.entgaming.net/player/anders?limit=30
Get the last hundred games played with W3MMD data (if applicable), stay time, timestamps, gameids etc.
https://api.entgaming.net/game/2219
Get an overview of game 2219 statistics including the replay link, duration, timestamp, players and their ids etc.
https://api.entgaming.net/bots
Get a list of all of the running bots
https://api.entgaming.net/bots/5
Get a list of all of the games currently being hosted by the botid=5 and players playing
https://api.entgaming.net/bots/5/lobby
Get the players in the lobby with botid=5
etc.etc. obviously just RESTish but with a bit of spice
--
Now ideally this would be, in the spirit of GHost++, some kind of open source project which would really be more of a community project which ENT happens to run on their platform. That way other wc3 communities would also be able to use it provided they use a GHost-esq db schema (*cough* MMH *cough* hehe ).
Personally I think one of the most interesting features of hosting using bots instead of by player (apart obviously from stuff like cross-realm, latency etc) is that there is LoAdS of data that is being collected but from what I see not so much being done with it.
If I don't get completely shot down (which I am okay with its just an idea ) I would be more than happy to start the project, I actually already have a lot of this kind of stuff written from when I was hosting myself.
I'm eager to hear thoughts!
Cheers,
Anders