11/DEC/13

Winter!: Prepare for holiday gaming!


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


Thread Tools
  #1  
Old 07-22-2009, 10:57 PM
DrunkenGamer's Avatar
DrunkenGamer DrunkenGamer is offline
Member
 
Join Date: Feb 2009
Location: Hull UK
Posts: 3
DrunkenGamer is community member of note
Looking For Assitance With API
Hey there guys

Im the Developer for Thirteen1 Magazine and have been using gamerDNA for a while now.

After looking into the service further when i did a Q&A with Tarinth
, i realy started looking into the Helix API further

I have a few ideas for interesting touches that could combine both our magazine and gamerDNA

--

The first thing i want to try and accomplish is to pull the top 3 traits of a game, into the info blurb we put on the right hand side of the first page of the article (Example: http://ow.ly/hWfF)

Now i didnt want to just get the info from the site manually and putting them on the page.

What i want to do is call them using the API and then insert them dynamically into the issue so that as the games DNA evolves as more people add info the mag stays up to date

now i have tried what is stated in here http://www.gamerdna.com/helix/docume...14409973278443 with no luck

but i realised that that documentation is outdated, when i looked at the new documentation for the Beta API i dont see information on the feature in there yet

Just wondering if there is a similar call in the updated API or if there is a method of getting it that is not listed in that documentation

If anyone can help that would be great

Reply With Quote
  #2  
Old 07-23-2009, 06:19 PM
a2nt a2nt is offline
GamerDNA staff
 
Join Date: Jan 2008
Location: Cambridge, MA
Posts: 5
a2nt has much to be proud of
Send a message via AIM to a2nt
Hi DG,

We have what you need. As an example, try:
http://helix.gamerdna.com/game_traits/search?apikey=<YOUR API KEY>&game_id=halo-3

It returns popular traits for a game. (You can also pass in a user_id.) The resulting XML will be something like:
<helix>
<info>
<name>game_traits/search</name>
<description>Returns traits.</description>
<version>1.0</version>
<request_time>Thu, 23 Jul 2009 13:09:46 -0400</request_time>
<copyright>Content is copyright(c) gamerDNA 2009. All rights reserved.</copyright>
</info>
<game_traits>
<count>5</count>
<category>
<name>The Setting</name>
<count>44</count>
<trait>
<name>sci-fi</name>
<times_used>1652</times_used>
</trait>
<trait>
<name>future</name>
<times_used>842</times_used>
</trait>
<trait>
<name>war time</name>
<times_used>837</times_used>
</trait>

...
Your API key is available from your gamerDNA manage profile page.

For latest doc see, http://www.gamerdna.com/helix/documentation/

For some PHP samples see:http://www.gamerdna.com/helix_samples/

Contact me directly if you would like to talk about other ideas. I would love to hear your thoughts.



Andy
Dir Business Systems - gamerDNA

(By the way, your avatar makes me thirsty.)
Reply With Quote
  #3  
Old 07-24-2009, 10:44 AM
DrunkenGamer's Avatar
DrunkenGamer DrunkenGamer is offline
Member
 
Join Date: Feb 2009
Location: Hull UK
Posts: 3
DrunkenGamer is community member of note
thanks thats spot on

ill get on with doing the sample of this first and then ill let you know about other ideas
Reply With Quote
  #4  
Old 07-26-2009, 10:30 PM
DrunkenGamer's Avatar
DrunkenGamer DrunkenGamer is offline
Member
 
Join Date: Feb 2009
Location: Hull UK
Posts: 3
DrunkenGamer is community member of note
ok quick update the basic functioning can be seen here, im going to talk to the art guy and make a demo version that looks good

also will look at speeding it up by putting some level of caching in place. probably make it only do an api call once every few hours to get any changes

but anyway just thought i would let you know the progress
Reply With Quote
  #5  
Old 07-26-2009, 11:34 PM
a2nt a2nt is offline
GamerDNA staff
 
Join Date: Jan 2008
Location: Cambridge, MA
Posts: 5
a2nt has much to be proud of
Send a message via AIM to a2nt
App
The app looks good so far. Thanks for the update. Let me know if you need a hand with any of the calls.
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