Skip to content

Commit 4c903d5

Browse files
committed
Merge branch 'master' of github.com:uber/Python-Sample-Application into add-heroku-button
Conflicts: README.md
2 parents 8188458 + fdb402e commit 4c903d5

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ How To Use This
1414

1515
1. Navigate over to https://developer.uber.com/, and sign up for an Uber developer account.
1616
2. Register a new Uber application and make your Redirect URI http://localhost:7000/submit - both OAuth scopes are required
17-
3. Fill in the relevant information in the config.json file in the root folder and add your client id and secret as the environment variables UBER_CLIENT_ID AND UBER_CLIENT_SECRET. Run export UBER_CLIENT_ID=YOUR_CLIENT_ID&&export UBER_CLIENT_SECRET=YOUR_CLIENT_SECRET”’
17+
3. Fill in the relevant information in the config.json file in the root folder and add your client id and secret as the environment variables UBER_CLIENT_ID AND UBER_CLIENT_SECRET. Run 'export UBER_CLIENT_ID="YOUR_CLIENT_ID"&&export UBER_CLIENT_SECRET="YOUR_CLIENT_SECRET"'
1818
4. Run ‘pip install -r requirements.txt’ to install dependencies
1919
5. Run ‘python app.py’
2020
6. Navigate to http://localhost:7000 in your browser

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def time():
149149

150150
@app.route('/price', methods=['GET'])
151151
def price():
152-
"""Example call to the time estimates endpoint.
152+
"""Example call to the price estimates endpoint.
153153
154154
Returns the time estimates from the given lat/lng given below.
155155
"""

test/test_endpoints.pyc

-5.74 KB
Binary file not shown.

0 commit comments

Comments
 (0)