uber_oauth: Authenticate with the Uber API

View source: R/authorise.R

uber_oauthR Documentation

Authenticate with the Uber API

Description

This function wraps the process of OAuth2.0 authentication with the Uber API. This must be done before further interactions can take place.

Usage

uber_oauth(client_key, client_secret, cache = TRUE)

Arguments

client_key

The client key provided by Uber.

client_secret

The client secreat provided by Uber.

cache

Whether or not to cache authentication token.

Details

If cache = TRUE then the authentication token will be stored in a .httr-oauth file.

See Also

oauth_app.

Examples

## Not run: 
# The key/secret combination below is not valid.
uber_oauth("ReTZRlEGNnzkitsn-A23MiXbnMNzdQf8",
           "NpWYGY8W7cv63tfM2neciVpjZOAF_wx1GHRG94A2")

## End(Not run)

DataWookie/ubeR documentation built on Jan. 31, 2024, 3:15 a.m.