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.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

search.proto 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. syntax = "proto3";
  2. option csharp_namespace = "SpotifyService.Protos";
  3. package search;
  4. service Search{
  5. rpc SearchForItem(SearchForItemRequest) returns (SearchForItemResponse);
  6. }
  7. message SearchForItemRequest{
  8. string query = 1;
  9. string type = 2;
  10. string include_external = 3;
  11. int32 limit = 4;
  12. int32 offset = 5;
  13. }
  14. message SearchForItemResponse{
  15. message Tracks {
  16. string href = 1;
  17. repeated Items items = 2;
  18. }
  19. Tracks tracks = 1;
  20. message Items{
  21. Album album = 1;
  22. repeated Artists artists = 2;
  23. int32 duration_ms = 3;
  24. External_urls1 external_urls = 4;
  25. string href = 5;
  26. string id = 6;
  27. string name = 7;
  28. int32 popularity = 8;
  29. int32 track_number = 9;
  30. string type = 10;
  31. string uri = 11;
  32. }
  33. }
  34. message Images {
  35. uint32 height = 1;
  36. string url = 2;
  37. uint32 width = 3;
  38. }
  39. message Album {
  40. string href = 1;
  41. string id = 2;
  42. repeated Images images = 3;
  43. string name = 4;
  44. string release_date = 5;
  45. uint32 total_tracks = 6;
  46. string type = 7;
  47. string uri = 8;
  48. }
  49. message External_urls {
  50. string spotify = 1;
  51. }
  52. message Artists {
  53. External_urls external_urls = 1;
  54. string href = 2;
  55. string id = 3;
  56. string name = 4;
  57. string type = 5;
  58. string uri = 6;
  59. }
  60. message External_urls1 {
  61. string spotify = 1;
  62. }