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.

StatsService.cs 480B

1234567891011121314151617181920
  1. using GrpcShared.DTO.Track;
  2. using GrpcShared.Interfaces;
  3. namespace SpotifyService.Services
  4. {
  5. public class StatsService : IStatsService
  6. {
  7. private readonly IHttpClientFactory _httpClientFactory;
  8. public StatsService(IHttpClientFactory httpClientFactory)
  9. {
  10. _httpClientFactory = httpClientFactory;
  11. }
  12. public Task<TrackResponse> GetCurrentlyPlayingTrack(string token)
  13. {
  14. return null;
  15. }
  16. }
  17. }