-{"openapi":"3.0.3","functions":[{"method":"get","path":"/products","name":"products_get","parameters":[{"type":"object","properties":{"query":{"type":"object","properties":{"latitude":{"name":"latitude","in":"query","description":"Latitude component of location.","required":true,"type":"number","format":"double"},"longitude":{"name":"longitude","in":"query","description":"Longitude component of location.","required":true,"type":"number","format":"double"}},"required":["latitude","longitude"]}}}],"output":{"type":"array","items":{}},"description":"Product Types.\n\nThe Products endpoint returns information about the Uber products offered at a given location. The response includes the display name and other details about each product, and lists the products in the proper display order."},{"method":"get","path":"/estimates/price","name":"estimates_price_get","parameters":[{"type":"object","properties":{"query":{"type":"object","properties":{"start_latitude":{"name":"start_latitude","in":"query","description":"Latitude component of start location.","required":true,"type":"number","format":"double"},"start_longitude":{"name":"start_longitude","in":"query","description":"Longitude component of start location.","required":true,"type":"number","format":"double"},"end_latitude":{"name":"end_latitude","in":"query","description":"Latitude component of end location.","required":true,"type":"number","format":"double"},"end_longitude":{"name":"end_longitude","in":"query","description":"Longitude component of end location.","required":true,"type":"number","format":"double"}},"required":["start_latitude","start_longitude","end_latitude","end_longitude"]}}}],"output":{"type":"array","items":{}},"description":"Price Estimates.\n\nThe Price Estimates endpoint returns an estimated price range for each product offered at a given location. The price estimate is provided as a formatted string with the full price range and the localized currency symbol.<br><br>The response also includes low and high estimates, and the [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) currency code for situations requiring currency conversion. When surge is active for a particular product, its surge_multiplier will be greater than 1, but the price estimate already factors in this multiplier."},{"method":"get","path":"/estimates/time","name":"estimates_time_get","parameters":[{"type":"object","properties":{"query":{"type":"object","properties":{"start_latitude":{"name":"start_latitude","in":"query","description":"Latitude component of start location.","required":true,"type":"number","format":"double"},"start_longitude":{"name":"start_longitude","in":"query","description":"Longitude component of start location.","required":true,"type":"number","format":"double"},"customer_uuid":{"name":"customer_uuid","in":"query","type":"string","format":"uuid","description":"Unique customer identifier to be used for experience customization."},"product_id":{"name":"product_id","in":"query","type":"string","description":"Unique identifier representing a specific product for a given latitude & longitude."}},"required":["start_latitude","start_longitude","customer_uuid","product_id"]}}}],"output":{"type":"array","items":{}},"description":"Time Estimates.\n\nThe Time Estimates endpoint returns ETAs for all products offered at a given location, with the responses expressed as integers in seconds. We recommend that this endpoint be called every minute to provide the most accurate, up-to-date ETAs."},{"method":"get","path":"/me","name":"me_get","parameters":[{"type":"object","properties":{}}],"output":{},"description":"User Profile.\n\nThe User Profile endpoint returns information about the Uber user that has authorized with the application."},{"method":"get","path":"/history","name":"history_get","parameters":[{"type":"object","properties":{"query":{"type":"object","properties":{"offset":{"name":"offset","in":"query","type":"integer","format":"int32","description":"Offset the list of returned results by this amount. Default is zero."},"limit":{"name":"limit","in":"query","type":"integer","format":"int32","description":"Number of items to retrieve. Default is 5, maximum is 100."}},"required":["offset","limit"]}}}],"output":{},"description":"User Activity.\n\nThe User Activity endpoint returns data about a user's lifetime activity with Uber. The response will include pickup locations and times, dropoff locations and times, the distance of past requests, and information about which products were requested.<br><br>The history array in the response will have a maximum length based on the limit parameter. The response value count may exceed limit, therefore subsequent API requests may be necessary."}],"errors":[],"options":{"keyword":true,"separate":null}}
0 commit comments