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.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

IStatsService.cs 484B

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(SessionMessage message);
  16. Task<TopItemResponse> GetTopItems(TopItemRequest request);
  17. }
  18. }