public ConsultaArtistaResquests(string idMusic)
 {
     accessToken    = HelpersSpotify.AutenticacaoSpotify();
     requestService = "/tracks/" + idMusic;
     method         = Method.GET;
     headers.Add("Authorization", "Bearer " + accessToken);
     apiSpotfy = true;
 }
Example #2
0
 public ConsultarMusicaRequests(string idPlayList)
 {
     accessToken    = HelpersSpotify.AutenticacaoSpotify();
     requestService = "/playlists/" + idPlayList + "/tracks";
     method         = Method.GET;
     headers.Add("Authorization", "Bearer " + accessToken);
     apiSpotfy = true;
 }
Example #3
0
 public ConsultaPlayLisRequest()
 {
     accessToken = HelpersSpotify.AutenticacaoSpotify();
     headers.Clear();
     headers.Add("Authorization", "Bearer " + accessToken);
     requestService = "/me/playlists";
     method         = Method.GET;
     apiSpotfy      = true;
 }