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.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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