Class GetRecentlyPlayedRequest
java.lang.Object
de.sonallux.spotify.api.apis.player.GetRecentlyPlayedRequest
Get Recently Played Tracks request
Required OAuth scopes
user-read-recently-played
Response
A paged set of tracks
-
Constructor Details
-
GetRecentlyPlayedRequest
Get Recently Played Tracks request- Parameters:
apiClient-The API client
-
-
Method Details
-
limit
- Parameters:
limit-The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
- Returns:
- this request
-
after
- Parameters:
after-A Unix timestamp in milliseconds. Returns all items after (but not including) this cursor position. If
afteris specified,beforemust not be specified.- Returns:
- this request
-
before
- Parameters:
before-A Unix timestamp in milliseconds. Returns all items before (but not including) this cursor position. If
beforeis specified,aftermust not be specified.- Returns:
- this request
-
build
Build the request into an executable api call- Returns:
- an executable api call
-