m=0
Moderator: Tech Team


 Dako
				Dako
			






















 
			

 Dako
				Dako
			






















 
			
 chipv
				chipv
			




























 
		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.

 chipv
				chipv
			




























 
		

 Dako
				Dako
			






















 
			 barrycarter
				barrycarter
			


 
		 sherkaner
				sherkaner
			














 
		 barrycarter
				barrycarter
			


 
		 sherkaner
				sherkaner
			














 
		

 Dako
				Dako
			






















 
			 barrycarter
				barrycarter
			


 
		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
				Foxglove
			





















 
		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!
 Yeah, obviously you have a valid point. And I use and love the script btw (except when I get on a  forum page with 100+ games I'm not interested in).
 Yeah, obviously you have a valid point. And I use and love the script btw (except when I get on a  forum page with 100+ games I'm not interested in). sherkaner
				sherkaner
			














 
		 barrycarter
				barrycarter
			


 
		 barrycarter
				barrycarter
			


 
		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">
[...]


 Qyu
				Qyu
			





















 
			
 chipv
				chipv
			




























 
		 kruthar
				kruthar
			





 
		
 ender516
				ender516
			










 
		

 Qyu
				Qyu
			





















 
			 Hugo Estrada
				Hugo Estrada
			







 
		
 dgz345
				dgz345
			





















 
		gt - game type (S)tandard, (C)Terminator, (A)ssassin, (P)olymorphic, (D)oubles, (T)riples or (Q)uadruples 

 MrBenn
				MrBenn
			


















 
		

 GeneralFault
				GeneralFault
			




















 
			Users browsing this forum: No registered users