Get Users Top Artists and Tracks

Go to Product

Get User's Top Items

Get the current user's top artists or tracks based on calculated affinity.

Options

Type

The type of entity to return. Valid values: artists or tracks

Time Range (*)

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 (*)
The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
Offset (*)
The index of the first item to return. Default: 0 (the first item). Use with limit to get the next set of items.
Result Format
Specify how the response should be mapped to the table output. The following formats are available:
  • Structured Table: Returns a parsed table with data split into rows and columns.
    • Href: A link to the Web API endpoint returning the full result of the request
    • Limit: The maximum number of items in the response (as set in the query or by default).
    • Next:

      URL to the next page of items. ( null if none)

    • Offset: The offset of the items returned (as set in the query or by default)
    • Previous:

      URL to the previous page of items. ( null if none)

    • Total: The total number of items available to return.
    • Items:
  • Raw Response: Returns the raw response in a single row with the following columns:
    • body: Response body
    • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.