11/DEC/13

Winter!: Prepare for holiday gaming!


Forums top   gamerDNA.com Forums > gamerDNA.com > Helix Developers/API (Beta)


Post Reply
Thread Tools
  #1  
Old 12-12-2008, 09:28 PM
mghjosh mghjosh is offline
Member
 
Join Date: Dec 2008
Posts: 13
mghjosh has much to be proud of
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
)
Reply With Quote
  #2  
Old 12-12-2008, 09:40 PM
QforQ's Avatar
QforQ QforQ is offline
GDNA Community Manager
 
Join Date: May 2007
Location: Boston, MA
Posts: 889
QforQ is bathed in a white light of excellence QforQ is bathed in a white light of excellence QforQ is bathed in a white light of excellence QforQ is bathed in a white light of excellence QforQ is bathed in a white light of excellence QforQ is bathed in a white light of excellence
Send a message via AIM to QforQ Send a message via MSN to QforQ Send a message via Skype™ to QforQ
Did you put in your API key in the URL that you're calling?

Just want to make sure
__________________
Sam Houston
Reply With Quote
  #3  
Old 12-12-2008, 10:03 PM
mghjosh mghjosh is offline
Member
 
Join Date: Dec 2008
Posts: 13
mghjosh has much to be proud of
Yeah definitely did.

The thing is it works for guilds/realms with no spaces absolutely fine, but with it doesnt.

Thanks in advance.
Reply With Quote
  #4  
Old 12-12-2008, 10:13 PM
ChangeAgent's Avatar
ChangeAgent ChangeAgent is offline
gamerDNA Staff
 
Join Date: Feb 2008
Location: Boston, MA
Posts: 589
ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community
Send a message via AIM to ChangeAgent Send a message via Yahoo to ChangeAgent Send a message via Skype™ to ChangeAgent
try putting a %20 or a + in the spaces?
__________________

| VP/Products - GamerDNA.com| Founder/Creator - 360voice.com| Blogger - Trappermarkelz.com |
Reply With Quote
  #5  
Old 12-12-2008, 10:15 PM
mghjosh mghjosh is offline
Member
 
Join Date: Dec 2008
Posts: 13
mghjosh has much to be proud of
Tried those already. Didn't work.
Reply With Quote
  #6  
Old 12-12-2008, 10:34 PM
ChangeAgent's Avatar
ChangeAgent ChangeAgent is offline
gamerDNA Staff
 
Join Date: Feb 2008
Location: Boston, MA
Posts: 589
ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community
Send a message via AIM to ChangeAgent Send a message via Yahoo to ChangeAgent Send a message via Skype™ to ChangeAgent
Hmmm try now... I just put it in without any special encoding for the space and it worked. I got all the info.
__________________

| VP/Products - GamerDNA.com| Founder/Creator - 360voice.com| Blogger - Trappermarkelz.com |
Reply With Quote
  #7  
Old 12-12-2008, 10:38 PM
mghjosh mghjosh is offline
Member
 
Join Date: Dec 2008
Posts: 13
mghjosh has much to be proud of
Still the same erorr.
Reply With Quote
  #8  
Old 12-12-2008, 10:42 PM
ChangeAgent's Avatar
ChangeAgent ChangeAgent is offline
gamerDNA Staff
 
Join Date: Feb 2008
Location: Boston, MA
Posts: 589
ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community ChangeAgent is a paragon of the community
Send a message via AIM to ChangeAgent Send a message via Yahoo to ChangeAgent Send a message via Skype™ to ChangeAgent
Email me tmarkelz@gamerdna.com your entire URL with your full API key. That way I can run it exactly as you are.
__________________

| VP/Products - GamerDNA.com| Founder/Creator - 360voice.com| Blogger - Trappermarkelz.com |
Reply With Quote
  #9  
Old 12-12-2008, 10:52 PM
mghjosh mghjosh is offline
Member
 
Join Date: Dec 2008
Posts: 13
mghjosh has much to be proud of
Well it looks to be an issue within the programming language im using as it loads fine via browser.
Reply With Quote
  #10  
Old 12-12-2008, 10:59 PM
mghjosh mghjosh is offline
Member
 
Join Date: Dec 2008
Posts: 13
mghjosh has much to be proud of
And now its working with %20 I think whatever you did earlier fixed it.

Thanks!
Reply With Quote
Post Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off