Moderator: Tech Team
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!
chipv wrote:[...]
So let's look at a typical output.
Using
- Code: Select all
http://www.conquerclub.com/api.php?p1un=chipv
Root tag is <api>
- Code: Select all
<api>
<page>1 of 2</page>
<games total="244">
[...]
gt - game type (S)tandard, (C)Terminator, (A)ssassin, (P)olymorphic, (D)oubles, (T)riples or (Q)uadruples
Users browsing this forum: No registered users