We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebe85fb + fff21c9 commit 76e1f32Copy full SHA for 76e1f32
internal/http/mojang_api.go
@@ -54,6 +54,7 @@ func NewMojangApi(
54
func (s *MojangApi) DefineRoutes(r gin.IRouter) {
55
r.GET("/api/minecraft/session/profile/:uuid", s.getProfileByUuidHandler)
56
r.GET("/api/mojang/profiles/:username", s.getUuidByUsernameHandler)
57
+ r.GET("/api/mojang/services/minecraft/profile/lookup/name/:username", s.getUuidByUsernameHandler)
58
}
59
60
func (s *MojangApi) getProfileByUuidHandler(c *gin.Context) {
0 commit comments