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.

IStatsService.cs 480B

12345678910111213141516171819
  1. using GrpcShared.DTO;
  2. using GrpcShared.DTO.TopItem;
  3. using GrpcShared.DTO.Track;
  4. using ProtoBuf.Grpc.Configuration;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace GrpcShared.Interfaces
  11. {
  12. [Service]
  13. public interface IStatsService
  14. {
  15. Task<CurrentTrackResponse> GetCurrentlyPlayingTrack(TokenMessage token);
  16. Task<TopItemResponse> GetTopItems(TopItemRequest request);
  17. }
  18. }