Exemplo n.º 1
0
 /// <summary>
 /// Get web auth url.
 /// </summary>
 /// <returns>Auth url.</returns>
 public string GetAuthUrl() => $"https://oauth.musixmatch.com/credential/signin?app_id={MusixmatchApiContext.Get(Context).AppId}&usertoken={Token}&origin=none";
 public ApiRequestFactory(string userToken, ApiContext context = ApiContext.Desktop)
 {
     UserToken = userToken;
     UserGuid  = Guid.NewGuid();
     Context   = MusixmatchApiContext.Get(context);
 }