The server for Open Course World
at main 119 lines 6.4 kB view raw
1package api 2 3type TgrApiMaker struct { 4 Region int `json:"region"` 5 RegionName string `json:"region_name"` 6 Code string `json:"code"` 7 Name string `json:"name"` 8 Country string `json:"country"` 9 LastActive int64 `json:"last_active"` 10 LastActivePretty string `json:"last_active_pretty"` 11 MiiData string `json:"mii_data"` 12 MiiImage string `json:"mii_image"` 13 MiiStudioCode string `json:"mii_studio_code"` 14 Pose int `json:"pose"` 15 Hat int `json:"hat"` 16 Shirt int `json:"shirt"` 17 Pants int `json:"pants"` 18 PoseName string `json:"pose_name"` 19 HatName string `json:"hat_name"` 20 ShirtName string `json:"shirt_name"` 21 PantsName string `json:"pants_name"` 22 WearingOutfit bool `json:"wearing_outfit"` 23 CoursesPlayed int `json:"courses_played"` 24 CoursesCleared int `json:"courses_cleared"` 25 CoursesAttempted int `json:"courses_attempted"` 26 CoursesDeaths int `json:"courses_deaths"` 27 Likes int `json:"likes"` 28 MakerPoints int `json:"maker_points"` 29 EasyHighscore int `json:"easy_highscore"` 30 NormalHighscore int `json:"normal_highscore"` 31 ExpertHighscore int `json:"expert_highscore"` 32 SuperExpertHighscore int `json:"super_expert_highscore"` 33 VersusRating int `json:"versus_rating"` 34 VersusRank int `json:"versus_rank"` 35 VersusRankName string `json:"versus_rank_name"` 36 VersusWon int `json:"versus_won"` 37 VersusLost int `json:"versus_lost"` 38 VersusWinStreak int `json:"versus_win_streak"` 39 VersusLoseStreak int `json:"versus_lose_streak"` 40 VersusPlays int `json:"versus_plays"` 41 VersusDisconnected int `json:"versus_disconnected"` 42 CoopClears int `json:"coop_clears"` 43 CoopPlays int `json:"coop_plays"` 44 RecentPerformance int `json:"recent_performance"` 45 VersusKills int `json:"versus_kills"` 46 VersusKilledByOthers int `json:"versus_killed_by_others"` 47 MultiplayerStatsUnk13 int `json:"multiplayer_stats_unk13"` 48 MultiplayerStatsUnk14 int `json:"multiplayer_stats_unk14"` 49 FirstClears int `json:"first_clears"` 50 WorldRecords int `json:"world_records"` 51 UniqueSuperWorldClears int `json:"unique_super_world_clears"` 52 UploadedLevels int `json:"uploaded_levels"` 53 MaximumUploadedLevels int `json:"maximum_uploaded_levels"` 54 WeeklyMakerPoints int `json:"weekly_maker_points"` 55 LastUploadedLevel int64 `json:"last_uploaded_level"` 56 LastUploadedLevelPretty string `json:"last_uploaded_level_pretty"` 57 IsNintendoEmployee bool `json:"is_nintendo_employee"` 58 CommentsEnabled bool `json:"comments_enabled"` 59 TagsEnabled bool `json:"tags_enabled"` 60 SuperWorldId string `json:"super_world_id"` 61 Badges []interface{} `json:"badges"` 62 Unk3 bool `json:"unk3"` 63 Unk12 bool `json:"unk12"` 64 Unk16 bool `json:"unk16"` 65 Pid int64 `json:"pid"` 66} 67type TgrApiCourse struct { 68 Name string `json:"name"` 69 Description string `json:"description"` 70 UploadedPretty string `json:"uploaded_pretty"` 71 Uploaded int64 `json:"uploaded"` 72 GameStyleName string `json:"game_style_name"` 73 GameStyle int `json:"game_style"` 74 ThemeName string `json:"theme_name"` 75 Theme int `json:"theme"` 76 DifficultyName string `json:"difficulty_name"` 77 Difficulty int `json:"difficulty"` 78 TagsName []string `json:"tags_name"` 79 Tags []int `json:"tags"` 80 WorldRecordPretty string `json:"world_record_pretty"` 81 WorldRecord int `json:"world_record"` 82 UploadTimePretty string `json:"upload_time_pretty"` 83 UploadTime int `json:"upload_time"` 84 NumComments int `json:"num_comments"` 85 ClearCondition int `json:"clear_condition"` 86 ClearConditionMagnitude int `json:"clear_condition_magnitude"` 87 Clears int `json:"clears"` 88 Attempts int `json:"attempts"` 89 ClearRate string `json:"clear_rate"` 90 Plays int `json:"plays"` 91 VersusMatches int `json:"versus_matches"` 92 CoopMatches int `json:"coop_matches"` 93 Likes int `json:"likes"` 94 Boos int `json:"boos"` 95 UniquePlayersAndVersus int `json:"unique_players_and_versus"` 96 WeeklyLikes int `json:"weekly_likes"` 97 WeeklyPlays int `json:"weekly_plays"` 98 OneScreenThumbnail struct { 99 Url string `json:"url"` 100 Size int `json:"size"` 101 Filename string `json:"filename"` 102 } `json:"one_screen_thumbnail"` 103 EntireThumbnail struct { 104 Url string `json:"url"` 105 Size int `json:"size"` 106 Filename string `json:"filename"` 107 } `json:"entire_thumbnail"` 108 DataId int `json:"data_id"` 109 CourseId string `json:"course_id"` 110 Unk2 int `json:"unk2"` 111 Unk3 string `json:"unk3"` 112 Unk9 int `json:"unk9"` 113 Unk10 int `json:"unk10"` 114 Unk11 int `json:"unk11"` 115 Unk12 int `json:"unk12"` 116 Uploader *TgrApiMaker `json:"uploader"` 117 FirstCompleter *TgrApiMaker `json:"first_completer"` 118 RecordHolder *TgrApiMaker `json:"record_holder"` 119}