Blazor & WASM in combination to get statistics from Spotify API for performing the song analysis. With separate microservices for auth, Spotify, user data tracking, and application, connected through gRPC with Polly.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

GLOBALS.cs 984B

1234567891011121314151617181920
  1. using System;
  2. namespace SpotifyService
  3. {
  4. public static class GLOBALS
  5. {
  6. public const String SPOTIFYURL = "https://api.spotify.com/v1/";
  7. public const String MEDIATYPE = "application/json";
  8. public const string CLIENT_ID = "83e1d09876b049c4bb1953185a4b3bfb";
  9. public const string SECRET = "ea752433d0774fad87fab5c1ee788c8d";
  10. //public const string REDIRECT_URI = "http://localhost:5051/callback";
  11. public const string REDIRECT_URI = "https://localhost:5001/callback";
  12. public const string SCOPE = "user-read-currently-playing user-read-email user-library-modify user-top-read user-read-private user-library-read";
  13. /*
  14. "ClientId": "83e1d09876b049c4bb1953185a4b3bfb",
  15. "RedirectURI": "https://localhost:44342/callback",
  16. "Scope": "user-read-currently-playing user-read-email user-library-modify user-top-read user-read-private",
  17. "ClientSecret": "ea752433d0774fad87fab5c1ee788c8d"
  18. */
  19. }
  20. }