API: JS: Top 10 lists: getlist-top10-weekly-js
Shows the top 10 list in javascript format. It is useful for embedding the Top 10 list on an external web site.
The list can be either:
- Most traded
- Most requested
- Most offered
List is updated on each Monday at 0:00 am for the previous week (last Monday to Sunday)
Url:
http://api.goozex.com/public/api/jscript/top10list/getlist-top10-weekly-js.asp
Call as:
HTML command <script>:
getlist-top10-weekly-js.asp?ref=[ ref_url ]&listtype=[ x ]&liststyle=[ y ]&idplatform=[ z ]
Parameters:
ref=[ref_url] = domain name of the site hosting the script code (e.g. www.microsoft.com). Minimum 10 chars.
listtype: can be equal to:
1 = most traded
2 = most offered
3 = most requested
liststyle: can be equal to:
1 = HTML TABLE stylish
2 = HTML TABLE simple
3 = plain HTML text only
idplatform: indicates the platform id:
PlatformID Name
11 Dreamcast
17 Xbox
22 PC Games
23 Mac Games
28 Game Boy Advance
31 Wii
33 Game Cube
42 Nintendo DS
43 PlayStation Portable
45 Xbox 360
47 Playstation 3
48 PlayStation
49 PlayStation 2
Example of Url:
http://api.goozex.com/public/api/jscript/top10list/getlist-top10-weekly-js.asp?listtype=1&liststyle=1&idplatform=43
Example of CSS customized code:
<STYLE type="text/css">
.Goozex_top10_title {
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
background-color:#99CC00;
}
.Goozex_top10_numbers {
font-family:Arial, Helvetica, sans-serif;
font-size:18px;
color:#333333;
}
.Goozex_top10_games {
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#000033;
}
.Goozex_top10_games A {
color:#006600;
}
</STYLE>
<SCRIPT LANGUAGE="JavaScript" src="http://api.goozex.com/public/api/jscript/top10list/getlist-top10-weekly-js.asp?listtype=3&liststyle=2&idplatform=47&bgcolor=DDDDDD"> </SCRIPT>