Learn R Programming

crunch (version 1.30.4)

tokenAuth: Add an auth token manually

Description

Set the auth token with a token you provide. Also modify the user-agent to include the service this is coming from.

Usage

tokenAuth(token, ua = NULL, source = "tokenAuth")

Value

Nothing; called for its side effects.

Arguments

token

character auth token

ua

character optional string to add to the User-Agent request header