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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }