Skip to content

Instantly share code, notes, and snippets.

@jpemberthy
Created February 9, 2015 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpemberthy/8be41af07f2994a0ed20 to your computer and use it in GitHub Desktop.
Save jpemberthy/8be41af07f2994a0ed20 to your computer and use it in GitHub Desktop.
FORMAT: 1A
# Uber API
Uber's so cool.
## Products [/v1/products{?latitude,longitude}]
### Retrieve Products [GET]
+ Parameters
+ latitude = `` (required, float, `36.21769`) Latitude component of location.
+ longitude = `` (required, float, `-86.77013934`) Longitude component of location
+ Response 200 (application/json)
+ Body
{
"products": [
{
"product_id": "327f7914-cd12-4f77-9e0c-b27bac580d03",
"description": "The original Uber",
"display_name": "UberBLACK",
"capacity": 4,
"image": "http://..."
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment