Go client for the Trackmania webservices API.
// Always provide a User-Agent that describes your project and how to contact you userAgent := "My super cool API client" // Use an Ubisoft authenticator if you want to use an Ubisoft Connect account (recommended) authenticator := nadeo.NewUbiAuthenticator("bob@example.net", "1234567890") // You can also use a basic authenticator for dedicated server accounts authenticator := nadeo.NewBasicAuthenticator("bob", "1234567890") // Initialize the package nadeo.Initialize(nadeo.NewInitParams(userAgent, authenticator)) // Get map info maps, _ := core.GetMapsByUid([]string{"oxH3JSoGHpDRAFLXaKq0BSRWHP6"}) fmt.Print(maps[0].Name)