uber_requests: Request a ride

Description Usage Arguments Details References Examples

View source: R/api.R

Description

Request a ride on the behalf of the authenticated user.

Usage

1
2
3
uber_requests(start_latitude = NULL, start_longitude = NULL,
  end_latitude = NULL, end_longitude = NULL, start_address = NULL,
  end_address = 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.

Details

Requires an OAuth 2.0 token with the request scope.

References

https://developer.uber.com/docs/ride-requests/references/api/v1-requests-post

Examples

1
2
3
4
5
## Not run: 
uber_requests(start_address = "37 Beach Road, Mouille Point, Cape Town",
              end_address = "100 St Georges Mall, Cape Town City Centre, Cape Town")

## End(Not run)

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