New Releases: What upcoming games are you looking forward to?
|
#1
|
|||
|
|||
|
API Question for Warhammer
Is there any reason this isn't working?
http://helix.gamerdna.com/warhammer_guild.php?name=ARCH EVIL&server=Ironfist&apikey=APIKEYHERE It doesn't seem to work with spaces and I can't find anything about encoding or replacing (ie: wow armory replaces spaces with + signs. ) The above URL gives me: Array ( [0] => <?xml version="1.0" encoding="utf-8" standalone="yes"?> [1] => <api> [2] => <info> [3] => <version>1.0</version> [4] => <description>GamerDNA - Warhammer Guild Statistics</description> [5] => </info><error>GUILD NAME, SERVER OR APIKEY [6] => MISSING</error></api> Thanks ) |
|
#2
|
||||
|
||||
|
Did you put in your API key in the URL that you're calling?
Just want to make sure
|
|
#3
|
|||
|
|||
|
Yeah definitely did.
The thing is it works for guilds/realms with no spaces absolutely fine, but with it doesnt. Thanks in advance. |
|
#4
|
||||
|
||||
|
try putting a %20 or a + in the spaces?
|
|
#5
|
|||
|
|||
|
Tried those already. Didn't work.
|
|
#6
|
||||
|
||||
|
Hmmm try now... I just put it in without any special encoding for the space and it worked. I got all the info.
|
|
#7
|
|||
|
|||
|
Still the same erorr.
|
|
#8
|
||||
|
||||
|
Email me tmarkelz@gamerdna.com your entire URL with your full API key. That way I can run it exactly as you are.
|
|
#9
|
|||
|
|||
|
Well it looks to be an issue within the programming language im using as it loads fine via browser.
|
|
#10
|
|||
|
|||
|
And now its working with %20 I think whatever you did earlier fixed it.
Thanks! |