Goozex
Hello Sign in | Join | Help
My Forum Home Forums Groups
Games
Search Forums
Navigation bar
This blog

Sample script

 
 

Working with the Goozex API is extremely simple. It uses common XML and RSS output that allows you to import and use the data with any XML-processing tool.

Yet, it is a powerful tool to build great mash-ups using the Goozex Data. You can even create mash-ups between multiple sites: for example, pulling Amazon data for the games in user's Request list to offer a method to buy a game from Amazon; or putting together a Google Map that shows where all the games you have traded currently are. The possibilities are endless!

The Goozex API is compatible with most programming languages available today, including PHP, ASP and ASP.NET. All you need is a script to import XML-formatted data and then process the data into a useful format. Similar scripts include MagpieRSS, a common script built in PHP to process XML data. Other scripts are available for ASP and ASP.NET (a quick Google search will provide several examples).

Sample script

We have prepared a sample script to put you in the right direction in only a few minutes. It is a PHP sample script that imports your Requests list and shows it in an HTML page with the current queue position and point value of your requests.

You can test the script by clicking here: http://goozexplore.com/api/api_samples/sample.php  (it runs on an external site to show how it integrates with your Requests list on Goozex.com)

You can also download the sample script package (.zip format) to look at the code and use it as a starting point to build your own applications. Keep in mind that in order to write your own applications in PHP (or ASP.NET) you will need access to your own web site or web server (or run PHP on your own computer). This sample script includes a sample XML parser for your convience.

Enjoy!

 

 


Posted Oct 13 2008, 09:55 AM by zannabianca
Filed under:
Attachment: sample.zip
 
 
About Goozex
About
Contact us
Advertise
Supporters
Site areas
Forums
Toolbox
API
Cards
Store
Help and Support
How it works
FAQ
Help
What's new
Newsletter
Goozcast
Announcements
RSS
News
Updates
Copyright © 2006-2008 Goozex, Inc. - All rights reserved - Patent pending

Game db © 2006-08 For personal non-commercial use only. All rights reserved.