Class GetUsersTopTracksRequest

    • Constructor Detail

      • GetUsersTopTracksRequest

        public GetUsersTopTracksRequest​(ApiClient apiClient)

        Get a User's Top Tracks request

        Parameters:
        apiClient -

        The API client

    • Method Detail

      • timeRange

        public GetUsersTopTracksRequest timeRange​(String timeRange)

        Over what time frame the affinities are computed. Valid values: long_term (calculated from several years of data and including all new data as it becomes available), medium_term (approximately last 6 months), short_term (approximately last 4 weeks). Default: medium_term

      • limit

        public GetUsersTopTracksRequest limit​(int limit)

        The number of entities to return. Default: 20. Minimum: 1. Maximum: 50. For example: limit=2

      • offset

        public GetUsersTopTracksRequest offset​(int offset)

        The index of the first entity to return. Default: 0 (i.e., the first track). Use with limit to get the next set of entities.