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.

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