mwhagedorn wrote:Did something change recently in the gamelist api? I am getting wierd values for the player ids
Depends on what you mean by recently, yes there was a big change recently.
Which page is showing up with weird values?
Moderator: Tech Team
mwhagedorn wrote:Did something change recently in the gamelist api? I am getting wierd values for the player ids
Foxglove wrote:I would like to make one more request (I know, I know..I'm never satisfied):
Can we get another addition to the game object to return either the length of the game chat or the number of lines it contains?
I wrote a new script to display a menu item containing a count of the number of games with new chat so that it's easy to identify when to go check out comments in games, but of course, this requires constant ajax calls to all of a user's active games.
Also - can we please get some kind of indication as to whether or not our requests are being considered? A yes, no, maybe, and perhaps even a time line would be super useful. I requested API extensions to include the user data back at the beginning of October, and no one posted in this thread until the end of December announcing the new API updates. It would have been nice to know whether or not my idea was being considered, whether it was already on the table for development, or what.
chipv wrote:Foxglove wrote:I would like to make one more request (I know, I know..I'm never satisfied):
Can we get another addition to the game object to return either the length of the game chat or the number of lines it contains?
I wrote a new script to display a menu item containing a count of the number of games with new chat so that it's easy to identify when to go check out comments in games, but of course, this requires constant ajax calls to all of a user's active games.
Also - can we please get some kind of indication as to whether or not our requests are being considered? A yes, no, maybe, and perhaps even a time line would be super useful. I requested API extensions to include the user data back at the beginning of October, and no one posted in this thread until the end of December announcing the new API updates. It would have been nice to know whether or not my idea was being considered, whether it was already on the table for development, or what.
Your request for single games was pushed forward and made it into the very next API release.
chipv wrote:The user data suggestion is unlikely - how long do you think the URL is going to be if you request 50 user names. 100. 500. 1000?
An alternative might be to ask for blocks of users with a smaller parameter set. e.g. Users from A-C something like that anyway.
chipv wrote:Length of game chat is possible, I will let you know.
chipv wrote:If you are expecting everyone's requests to get a progress report in the forums, then you may like to go to Suggs and Buggs to see how long some people there have to wait.
chipv wrote:You are lucky to have got your first request met immediately (if I hadn't pushed it through it wouldn't have happened, simple).
chipv wrote:Considering you have me on MSN (the other script writers also) it may have been more gracious to have chatted about it.
chipv wrote:Anyway I will endeavour to post updates on all of your individual requests if possible, but I also have a busy real life so perhaps exercise a modicum of patience in future like everyone else has done.
Dako wrote:One more API bug:
Following link is not working
http://www.conquerclub.com/api.php?mode ... s%20Empire
Reason - I guess it is the ' sign in the map name that messes things up (cause it should be stripped from input). Escaping the character doesn't give anything.
sherkaner wrote:Depends, not in all cases. For instance I think the Game Link-plugin actually uses the fact that you're already logged in to retrieve the game pages and use the info from those pages, which looks like what you're planning to do. But that's quite heavy, so it's not advised.
Foxglove wrote:sherkaner wrote:Depends, not in all cases. For instance I think the Game Link-plugin actually uses the fact that you're already logged in to retrieve the game pages and use the info from those pages, which looks like what you're planning to do. But that's quite heavy, so it's not advised.
Once the API provides the required information, there will be no need to do it the "heavy" way anymore. But for now... that's the only way to allow the script to work properly!
Users browsing this forum: No registered users