Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 360voice.com
 XML/APIs
 RFC: 360voice.leaderboards

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Insert Smilie
   
Message:

* HTML is OFF
* Forum Code is ON

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
illum1na Posted - Sep 07 2007 : 01:59:30 AM
I know I asked this before, but that was for the leaderboards on the site.

Request for change:
Extra parameter "c" for "country" to put into the api which limits the return data for the given countrycode.

So:

360voice.leaderboards
Description: Outputs a page of 50 leaderboard members based on a type ID. To get multiple pages, use the start argument. To limit the results for a given country, use the c argument.

Arguments:
type (required, defines which leaderboard to output) 1, 2, 3
1=Top Gamerscore
2=Daily Gamerscore Change
3=Total Games Played
start (optional, position to start the 50 returned records)
c (optional, limits the results to a given country)

Sample:
http://www.360voice.com/api/leader.asp?type=1&start=50&c=nl

The sample would return the top50 scores on 360v for gamers from The Netherlands.
2   L A T E S T    R E P L I E S    (Newest First)
illum1na Posted - Sep 12 2007 : 03:08:58 AM
yeps, understood :)
ChangeAgent Posted - Sep 10 2007 : 8:36:26 PM
The reason this is hard, is that our ranks are part of the flattened table... so when you query by country... (Germany for instance) the number 1 person in germany is 1400 in Gamerscore rank on the site... so that is where the rank starts... you would have to list out your own ranks... is that fine? Understand what I mean?

360voice Community © 2006 360voice.com Go To Top Of Page
Snitz Forums 2000