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
Game Data API
Moderator: Oversight Staff
-
- Oversight Staff
- Posts: 5172
- Joined: Mon Mar 20, 2017 5:56 am
- Location: Canada
- Been thanked: 114 times
Re: Game Data API
I believe this is already covered by our Open Stats page, and also our Games List page. In addition to this, you can see the current status of our bots on all realms if you visit our Bot Status page.
Open Stats:
Allows searching specific usernames, and this provides a recently played games list. The recently played games can be selected to review the games information, and to download the replay should you so desire. In addition to this, if they've played any rank games, you can select the game type in the top bar, and then search for the username to retrieve their ELO on that account (splits it based on realm).
Games List:
This provides a list of available lobbies, and below is a checkbox for "Include games in progress", to see games currently on-going as well. You can click said games to view who is in the lobby, what map is being hosted, and the duration of the lobby/game currently.
Bot Status:
Provides a detailed list of all our bots, the games they are currently hosting (lobby), and what realms they are currently logged onto.
So, what additional information are you hoping to be made public?
@Anders458
Open Stats:
Allows searching specific usernames, and this provides a recently played games list. The recently played games can be selected to review the games information, and to download the replay should you so desire. In addition to this, if they've played any rank games, you can select the game type in the top bar, and then search for the username to retrieve their ELO on that account (splits it based on realm).
Games List:
This provides a list of available lobbies, and below is a checkbox for "Include games in progress", to see games currently on-going as well. You can click said games to view who is in the lobby, what map is being hosted, and the duration of the lobby/game currently.
Bot Status:
Provides a detailed list of all our bots, the games they are currently hosting (lobby), and what realms they are currently logged onto.
So, what additional information are you hoping to be made public?
@Anders458
Re: Game Data API
That is true indeed, but I was talking about something more programmatically-friendly. It is certainly possible to extract the information from each of the pages you mentioned, but obviously working with an html response is a lot more cumbersome than a json response particularly when you need to dig through several different documents to get all of the relevant info. Really the point would be to encourage someone who is interested to make something cool.
Lame Anecdote:
The point is that the spirit of the idea is to provide a friendly programmatic interface by which the interested folks could access the data.
To answer your question of what more information: a lot of maps support w3mmd (which I believe seems to have been more or less fried via the latest patch, not sure if it has been fixed). A lot of times I would think that data is actually a lot more useful than the generic gameplayer stats the bot collects which would really be quite an attraction for map developers interested in supporting custom stats for their map. I could be blind but I don't think that all of that is available in open stats but more importantly even if it is, it would probably be about as much of a pain to fetch as that gamelist stuff .
@Unitil
Lame Anecdote:
Spoiler!
The point is that the spirit of the idea is to provide a friendly programmatic interface by which the interested folks could access the data.
To answer your question of what more information: a lot of maps support w3mmd (which I believe seems to have been more or less fried via the latest patch, not sure if it has been fixed). A lot of times I would think that data is actually a lot more useful than the generic gameplayer stats the bot collects which would really be quite an attraction for map developers interested in supporting custom stats for their map. I could be blind but I don't think that all of that is available in open stats but more importantly even if it is, it would probably be about as much of a pain to fetch as that gamelist stuff .
@Unitil
Re: Game Data API
ITS A great idea!! Would love to see it work!
Would improve our wc3 community!
Cheers!
-Polo
Would improve our wc3 community!
Cheers!
-Polo
Re: Game Data API
Easier programming means better discord bots or virtual lobbies. more bots = more games played. lets save the community together.
Return to “Suggestion Archive”
Who is online
Users browsing this forum: No registered users and 23 guests