Rankings Endpoints
Use these enpoints to retrieve data about the WPPR rankings
GET /rankings
Get the WPPR rankings.
Parameters
Required | Parameter | Description | Example |
---|---|---|---|
Yes | api_key | Key needed to access API | &api_key=RNDOAMGNAJTGQWKQ |
No | start_pos | Start at a specific point in the list. Default is 1. | &start_pos=100 |
No | count | Number of records to return. Default is 50. | &count=50 |
No | order | Order the results. Options: points, rating, eff_pct. Default is points. | &order=eff_pct |
Example
https://api.ifpapinball.com/v1/rankings?api_key=2FSp55Vy27vj6rAG&start_pos=1&count=5
{ "total_count":"17997", "rankings":{ "1":{ "player_id":"1", "first_name":"Keith", "last_name":"Elwin", "country_name":"United States", "country_code":"US", "state":"CA", "city":"Carlsbad", "wppr_points":"1081.6975", "current_rank":"1", "last_month_rank":"1", "rating_value":"2182.8110", "efficiency_percent":"67.300", "event_count":"191", "best_finish":"Pinburgh", "best_finish_pos":"1", "best_tournament_id":"60" }, "2":{ "player_id":"63", "first_name":"Jorian", "last_name":"Engelbrektsson", "country_name":"Sweden", "country_code":"SE", "state":"", "city":"Stockholm", "wppr_points":"955.2575", "current_rank":"2", "last_month_rank":"3", "rating_value":"2115.8360", "efficiency_percent":"63.460", "event_count":"253", "best_finish":"IFPA11 World Pinball Championship", "best_finish_pos":"1", "best_tournament_id":"991" }, "3":{ "player_id":"9", "first_name":"Zach", "last_name":"Sharpe", "country_name":"United States", "country_code":"US", "state":"IL", "city":"Chicago", "wppr_points":"894.8325", "current_rank":"3", "last_month_rank":"2", "rating_value":"1995.2300", "efficiency_percent":"57.490", "event_count":"255", "best_finish":"IFPA10 World Pinball Championship", "best_finish_pos":"2", "best_tournament_id":"686" }, { ... more ... } ] } }