public Everything Get(string input, string selection = null) { this.search = input; Everything everything = new Everything(); List <Movie> listMovies = new List <Movie>(); ArtistHolder listArtists = new ArtistHolder(); List <Game> listGames = new List <Game>(); //Tweets listTweets = new Tweets(); SpotifyToken token = new SpotifyToken(); Requests requests = new Requests(); RequestSpotify rs = new RequestSpotify(); RequestIgdb ri = new RequestIgdb(); listMovies = requests.GetMovieList(input).Result; listArtists = rs.GetAll(input).Result; //RequestTwitter rt = new RequestTwitter(); listMovies = requests.GetMovieList(input).Result; listArtists = rs.GetAll(input).Result; listGames = ri.GetGameList(input).Result; //listTweets = rt.GetTweets(input).Result; everything.artistholder = listArtists; everything.movieslist = listMovies; everything.gamelist = listGames; //everything.tweetlist = listTweets; return(everything); }
public AlbumSearch Get(string search, string offset = "0", string limit = "20") { RequestSpotify rs = new RequestSpotify(); AlbumSearch albums = new AlbumSearch(); albums = rs.SearchAlbums(search: search, offset: offset, limit: limit); return(albums); }
public ArtistSearch Get(string search, string offset = "0", string limit = "20") { RequestSpotify rs = new RequestSpotify(); ArtistSearch artist = new ArtistSearch(); artist = rs.SearchArtists(search: search, offset: offset, limit: limit); return(artist); }
public List <Song> Get(string artistid) { RequestSpotify rs = new RequestSpotify(); List <Song> holder = new List <Song>(); holder = rs.GetTopTracks(artistid).Result; return(holder); }
public ArtistAlbumsHolder Get(string id, string offset = "0", string limit = "20") { RequestSpotify rs = new RequestSpotify(); ArtistAlbumsHolder holder = new ArtistAlbumsHolder(); holder = rs.GetArtistAlbums(id, offset, limit).Result; return(holder); }
public List <Song> Get(string albumid) { RequestSpotify rs = new RequestSpotify(); List <Song> alb = new List <Song>(); alb = rs.GetFullAlbum(albumid).Result; return(alb); }
public Artist Get(string artistid, string offset = "0", string limit = "20") { RequestSpotify rs = new RequestSpotify(); Artist artist = new Artist(); artist = rs.OneArtist(artistid).Result; return(artist); }
public SongSearch Get(string search, string offset = "0", string limit = "20") { RequestSpotify rs = new RequestSpotify(); SongSearch tracks = new SongSearch(); tracks = rs.SearchTracks(search: search, offset: offset, limit: limit); return(tracks); }