get_my_top: Combine id/secret and return header.

Description Usage Arguments Value Examples

View source: R/get_my_top.R

Description

Combine id/secret and return header.

Usage

1
2
get_my_top(tkn, n = 20, type = "tracks", time_range = "short_term",
  output = "tbl")

Arguments

tkn

use saved token info to get header.

n

number of results to return.

type

either 'tracks' or 'artists' depending on usage

time_range

takes either 'short_term', 'medium_term' or 'long_term'. Set to 'short_term' by default.

output

by default, will return a tibble object. Will allow 'raw' to return the raw endpoint call.

Value

tibble with relevant information

Examples

1

jeremydmorris/spotifyconnect documentation built on May 20, 2019, 5:21 p.m.