Conquer Club

API Bug. new polymorphic game_type=P

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

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

API Bug. new polymorphic game_type=P

Postby Woltato on Sat Oct 12, 2013 2:45 pm

API call to return a list of my active games.

http://www.conquerclub.com/api.php?mode ... 96123&gs=A

There's multiple entries in the XML for polymorphic games.

e.g. this game Game 13444457 has 4 slots per player and there's 4 entries in the XML for it. The first 3 have a blank <players> element.

<players></players>

The last one looks as it should be.

<players>
<player state="Ready">296123</player>
<player state="Waiting">296123</player>
<player state="Waiting">296123</player>
<player state="Waiting">296123</player>
<player state="Waiting">37569</player>
<player state="Waiting">37569</player>
<player state="Waiting">37569</player>
<player state="Waiting">37569</player>
</players>
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: API Bug. new polymorphic game_type=P

Postby Woltato on Mon Oct 28, 2013 4:20 pm

This seems to have been fixed now.
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK


Return to Tools Development

Who is online

Users browsing this forum: No registered users