New Releases: What upcoming games are you looking forward to?
|
#1
|
||||
|
||||
|
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 |
|
#2
|
|||
|
|||
|
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.) |
|
#3
|
||||
|
||||
|
thanks thats spot on
ill get on with doing the sample of this first and then ill let you know about other ideas
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
App
The app looks good so far. Thanks for the update. Let me know if you need a hand with any of the calls.
|