ubeR: A package for interacting with the Uber API.

Share:

Description

The ubeR package provides wrapper functions for endpoints in the Uber API.

Authentication

The uber_oauth() function accepts a client identifier and a client secret key. It orchestrates authentication with the Uber API.

Products

The uber_products() function provides information about the nearest Uber rides to a specified location.

Estimates

Estimates for the cost and duration of the cheapest ride between two locations can be requested using uber_requests_estimate(). Cost and duration estimates for a selection of rides types can be requested with uber_estimate_price() and uber_estimate_time().

Requests

A ride between two locations can be requested using uber_requests(). This ride can subsequently be queried and cancelled with uber_requests_current() and uber_requests_current_delete().