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