the browser-facing portion of osu!
at master 91 lines 3.3 kB view raw view rendered
1## UserStatistics 2```json 3{ 4 "count_100": 0, 5 "count_300": 0, 6 "count_50": 0, 7 "count_miss": 0, 8 "grade_counts": { 9 "a": 3, 10 "s": 2, 11 "sh": 6, 12 "ss": 2, 13 "ssh": 3 14 }, 15 "hit_accuracy": 92.19, 16 "is_ranked": true, 17 "level": { 18 "current": 30, 19 "progress": 0 20 }, 21 "maximum_combo": 3948, 22 "play_count": 228050, 23 "play_time": null, 24 "pp": 990, 25 "global_rank": 87468, 26 "ranked_score": 1502995536, 27 "replays_watched_by_others": 0, 28 "total_hits": 5856573, 29 "total_score": 2104193750, 30 "user": { 31 "avatar_url": "https://a.ppy.sh/2?1519081077.png", 32 "country": { 33 "code": "AU", 34 "name": "Australia" 35 }, 36 "country_code": "AU", 37 "cover": { 38 "custom_url": null, 39 "id": "3", 40 "url": "https://assets.ppy.sh/user-profile-covers/2/baba245ef60834b769694178f8f6d4f6166c5188c740de084656ad2b80f1eea7.jpeg" 41 }, 42 "default_group": "ppy", 43 "id": 2, 44 "is_active": false, 45 "is_bot": false, 46 "is_online": false, 47 "is_supporter": true, 48 "last_visit": "2019-02-22T11:07:10+00:00", 49 "pm_friends_only": false, 50 "profile_colour": "#3366FF", 51 "username": "peppy" 52 } 53} 54``` 55 56A summary of various gameplay statistics for a [User](#user). Specific to a [Ruleset](#ruleset) 57 58Field | Type | Description 59------------------------- | -------- | ----------- 60count_100 | integer | | 61count_300 | integer | | 62count_50 | integer | | 63count_miss | integer | | 64country_rank | integer? | Current country rank according to pp. 65grade_counts.a | integer | Number of A ranked scores. 66grade_counts.s | integer | Number of S ranked scores. 67grade_counts.sh | integer | Number of Silver S ranked scores. 68grade_counts.ss | integer | Number of SS ranked scores. 69grade_counts.ssh | integer | Number of Silver SS ranked scores. 70hit_accuracy | float | Hit accuracy percentage 71is_ranked | boolean | Is actively ranked 72level.current | integer | Current level. 73level.progress | float | Progress to next level. 74maximum_combo | integer | Highest maximum combo. 75play_count | integer | Number of maps played. 76play_time | integer | Cumulative time played. 77pp | float | Performance points 78pp_exp | float | Experimental (lazer) performance points 79global_rank | integer? | Current rank according to pp. 80global_rank_exp | integer? | Current rank according to experimental (lazer) pp. 81ranked_score | integer | Current ranked score. 82replays_watched_by_others | integer | Number of replays watched by other users. 83total_hits | integer | Total number of hits. 84total_score | integer | Total score. 85 86### Optional attributes 87 88Field | Type | Description 89------------------------- | ------------- | ----------- 90rank_change_since_30_days | integer? | Difference between current rank and rank 30 days ago, according to pp. 91user | [User](#user) | |