Go client for the public NadeoServices API using the client_credentials grant type.
c := nadeopub.NewClient(nadeopub.ClientConfig{
ClientId: os.Getenv("TEST_CLIENT_ID"),
ClientSecret: os.Getenv("TEST_CLIENT_SECRET"),
})
c.Authenticate()
accountId := "7398eeb6-9b4e-44b8-a7a1-a2149955ac70"
displayNames, _ := c.GetDisplayNames([]string{accountId})
fmt.Printf("%s = %s", accountId, displayNames[accountId])