API Request: include start time in gamelist queries

Discuss developing tools and get details on Conquer Club's API.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
Post Reply
barrycarter
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am

API Request: include start time in gamelist queries

Post by barrycarter »

Any chance CC could include the game start time in response to a
gamelist query?

The XML event logs don't include this, but the information IS
available, since the HTML game logs have it.

You can get the end time by looking at the "won the game" event, but
there's no such trick for start time.
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: API Request: include start time in gamelist queries

Post by ender516 »

What time do you want to see, the time when the game is initialized (due to the last empty slot being filled), or the time when the first player begins his first turn?
barrycarter
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am

Re: API Request: include start time in gamelist queries

Post by barrycarter »

Ideally, both, but if I had to choose one: game initialization time.

We could then answer questions like "what's the highest number of games I've had 'open' at one time?", since most people include "initialized-but-no-turns-taken" as "open". Of course, most people joining a game that now becomes full take their turn pretty quickly (?).

Ideally, the game creation time (when the creator made it) would be good too, but, of the 3 choices, initialization time is probably the best.
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: API Request: include start time in gamelist queries

Post by ender516 »

In a sequential game, the last person to join a game is not necessarily the first one eligible to play, so that person may not even be online to know that the game is ready.
barrycarter
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am

Re: API Request: include start time in gamelist queries

Post by barrycarter »

Yup, you're right. OK, I still think the game initialization time is what most people count as the "start" of the game, so, if I had to choose one, that would be it.
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: API Request: include start time in gamelist queries

Post by ender516 »

I feel that I should point out that despite my coloured name as a member of the Tech Team, I have little more influence over such changes than you do. I asked my question mostly because I thought those who can make such changes would want the answer. I will see if I can draw more attention to your request.
barrycarter
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am

Re: API Request: include start time in gamelist queries

Post by barrycarter »

Given permission, I'd love to simply download the full logs (HTML) from all games, but given that there are over 6 million of them, I'm guessing that's not going to happen :)
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: API Request: include start time in gamelist queries

Post by ender516 »

What on earth would you do with all that?
barrycarter
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am

Re: API Request: include start time in gamelist queries

Post by barrycarter »

Create a really big database to answer many of the questions in the other threads.

Whose played the most games at a time. "What's my best map"? "Which opponent am I best against?" etc etc etc

I'm already doing this for my own games, but there might be some players out there interested in other games.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: API Request: include start time in gamelist queries

Post by Dako »

Basically, this project is an ultimate map/user/game/clan rank system :D.
Image
Post Reply

Return to “Tools Development”