PlaylistClient class
Scrapes metadata about SoundCloud playlists and albums.
Constructors
- PlaylistClient.new(Client httpClient, SoundcloudController controller)
-
Creates a new PlaylistClient that uses the provided
httpClient
andcontroller
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
int playlistId) → Future< Playlist> -
Gets the Playlist with the specified
playlistId
. -
getByUrl(
String url) → Future< Playlist> -
Gets the Playlist associated with the provided
url
. -
getTracks(
int playlistId, {int offset = defaultOffset, int limit = defaultLimit}) → Stream< Iterable< Track> > -
Gets batches of tracks contained in the playlist with the specified
playlistId
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited