Skip to content

volkanakinpasa/wrappify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stories in Ready #wrappify

client wrapper to connect Spotify web api

Build status

####Nuget

  Install-Package wrappify

####create new instance

  RequestConfiguration requestConfiguration = new RequestConfiguration(Host, Port, Scheme);
  //or initialize 'HttWrap' Wrapper library
  //IHttpWrapper httpWrapper = new HttWrapWrapper(requestConfiguration);
  IHttpWrapper httpWrapper = new HttpWrapper(requestConfiguration);
  
  ISpotifyClient spotifyClient = new SpotifyClient(httpWrapper);

####if you need to access personal data, you have to set and access token

spotifyClient.SetAccessToken("access_token");

####call methods

User user = await spotifyClient.GetCurrentUserProfileTest();

User user = await spotifyClient.GetUser("username here");

Paging<Playlist> playlistPaging = await spotifyClient.GetAUsersPlaylists("username here");

Track track = await spotifyClient.GetATrack("3g0XVm6ZTWHbtTTfKhmMo7");

####Authorization Code Flow

enter image description here

PS: You need to know Authorization Code Flow click here for more info

About

Wrapper for Spotify Web api client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages