uber_estimate_price: Price estimate

Description Usage Arguments References Examples

View source: R/api.R

Description

Returns an estimated price range for each product offered at a given location

Usage

1
2
3
uber_estimate_price(start_latitude = NULL, start_longitude = NULL,
  end_latitude = NULL, end_longitude = NULL, start_address = NULL,
  end_address = NULL, seat_count = NULL)

Arguments

start_latitude

Initial latitude.

start_longitude

Initial longitude.

end_latitude

Final latitude.

end_longitude

Final longitude.

start_address

Initial address.

end_address

Final address.

seat_count

Number of passengers.

References

https://developer.uber.com/docs/ride-requests/references/api/v1-estimates-price-get

Examples

1
2
3
4
5
## Not run: 
uber_estimate_price(start_latitude = 37.761492, start_longitude = -122.423941,
                    end_latitude = 37.775393, end_longitude = -122.417546)

## End(Not run)

ubeR documentation built on May 30, 2017, 1:41 a.m.