Get recently played tracks for current user

get_my_recently_played(limit = 50,
  auth_code = get_spotify_authorization_code())

Arguments

limit

Integer indicating the number of tracks to return. Default: 50. Minimum: 1. Maximum: 50

auth_code

Authorization code with proper scopes. Calls get_spotify_authorization_code() by default.

after

A Unix timestamp in milliseconds. Returns all items after (but not including) this cursor position. If after is specified, before must not be specified.

before

A Unix timestamp in milliseconds. Returns all items before (but not including) this cursor position. If before is specified, after must not be specified.

Examples

# NOT RUN {
get_my_recently_played()
# }