tk_info: tk_info

Description Usage Arguments Examples

View source: R/info.R

Description

Function to get information on a given user/hashtag/piece of music

Usage

1
tk_info(scope, query, ...)

Arguments

scope

Character indicating the endpoint to scrape (must be "hashtag", "user" or "music")

query

Character indicating the username/hashtag/music_id to scrape

Examples

1
2
3
4
5
6
7
## Not run: 
# Get info about a user:
tk_info(scope = "user", query = "willsmith")
# Get info about a hashtag
tk_info(scope = "hashtag", query = "cosplay")

## End(Not run)

benjaminguinaudeau/tiktokr documentation built on Jan. 17, 2021, 8:52 a.m.