Results 1 to 3 of 3

Thread: Ranking API ?

  1. #1

    Ranking API ?

    Hi,
    how does the ranking API work ?

    http://api.bfhstats.com/api/playerRa...re&output=json

    This request gives me the ranking for e.g. score but how do I get the
    - top % value ?
    - position and total ranked players for this attribute ? e.g. "#531 of 36795" ?

    Code:
    {
      "group": "player",
      "ident": "score",
      "pid": 173533698,
      "rank": null,
      "count": 52571,
      "value": null,
      "url": null,
      "label": "Score",
      "short": "Score",
      "format": "nf"
    }

  2. #2

    Re: Ranking API ?

    ok forget this thread. I used a wrong platform where the player doesn't have any stats

    Here it works
    http://api.bfhstats.com/api/playerRa...re&output=json

  3. #3
    Administrator 1ApRiL's Avatar
    Join Date
    2011-02-12
    Location
    Waiblingen, Germany
    Posts
    1,525
    BFBC2 PC
    1ApRiL
    NFS World
    1APRIL
    BF2
    1ApRiL
    BF3 PC
    1ApRiL

    Re: Ranking API ?

    Top%=value/count*100
    Admin of bfhstats.com / bf4stats.com / bf3stats.com | Twitter

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
P-STATS NETWORK FORUM LOGIN CREATE ACCOUNT