Learn R Programming

ubeR (version 0.1.4)

uber_products: Products available

Description

Returns information about the Uber products offered at a given location.

Usage

uber_products(latitude = NA, longitude = NA, product_id = NA)

Arguments

latitude
Latitude of location.
longitude
Longitude of location.
product_id
Unique identifier representing a specific product.

References

https://developer.uber.com/docs/ride-requests/references/api/v1-products-get https://developer.uber.com/docs/ride-requests/references/api/v1-products-product_id-get

Examples

Run this code
## Not run: ------------------------------------
# uber_products(latitude = -33.925278, longitude = 18.423889)
# uber_products(product_id = "91901472-f30d-4614-8ba7-9fcc937cebf5")
## ---------------------------------------------

Run the code above in your browser using DataLab