UserClient class

Scrapes metadata about SoundCloud users.

Constructors

UserClient.new(Client httpClient, SoundcloudController controller)
Creates a new UserClient that uses the provided httpClient and controller.

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 userId) Future<User>
Gets the SoundcloudUser with the specified userId.
getAlbums(int userId, {int offset = defaultOffset, int limit = defaultLimit}) Stream<Iterable<Playlist>>
Gets batches of albums created by the user with the specified userId.
getByUrl(String url) Future<User>
Gets the SoundcloudUser associated with the provided url.
getPlaylists(int userId, {int offset = defaultOffset, int limit = defaultLimit}) Stream<Iterable<Playlist>>
Gets batches of playlists created by the user with the specified userId.
getTracks(int userId, {UserTrackSort sortBy = UserTrackSort.none, int offset = defaultOffset, int limit = defaultLimit}) Stream<Iterable<Track>>
Gets batches of tracks uploaded by the user with the specified userId.
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