Learn R Programming

traktok (version 0.1.1)

auth_hidden: Authenticate for the hidden/unofficial API

Description

Guides you through authentication for the hidden/unofficial API. To learn more, see the hidden API vignette or view it locally with vignette("unofficial-api", package = "traktok").

Usage

auth_hidden(cookiefile, live = interactive())

Value

nothing. Called to set up authentication

Arguments

cookiefile

path to your cookiefile. Usually not needed after running auth_hidden once. See vignette("unofficial-api", package = "traktok") for more information on authentication.

live

opens Chromium browser to guide you through the auth process (experimental).

Examples

Run this code
if (FALSE) {
# to run through the steps of authentication
auth_hidden()
# or point to a cookie file directly
auth_hidden("www.tiktok.com_cookies.txt")
}

Run the code above in your browser using DataLab