-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
134 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
lib | ||
Gruntfile.js | ||
/Gruntfile.js | ||
src | ||
tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "Uber", | ||
"desc": "Uber connects riders with safe, reliable, convenient transportation providers at a variety of price-points in cities around the world.", | ||
"url": "https://login.uber.com/oauth", | ||
"oauth2": { | ||
"authorize": "/authorize", | ||
"access_token": "/token", | ||
"request": { | ||
"url": "https://api.uber.com", | ||
"cors": true | ||
}, | ||
"refresh": "/token", | ||
"parameters": { | ||
"client_secret": "string", | ||
"client_id": "string", | ||
"scope": { | ||
"values": { | ||
"profile": "Access the basic profile information on a user's Uber account including their first name, email address, and profile picture.", | ||
"history": "Pull trip data including the locations, times, and product type of a user's historical pickups and drop-offs." | ||
} | ||
} | ||
} | ||
}, | ||
"href": { | ||
"keys": "https://login.uber.com/applications/new", | ||
"docs": "https://developer.uber.com/v1/api-reference/", | ||
"apps": "https://login.uber.com/applications", | ||
"provider": "https://uber.com/" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
var me = { | ||
|
||
url: '/v1/me', | ||
params: {}, | ||
fields: { | ||
name: '=', | ||
firstname: 'first_name', | ||
lastname: 'last_name', | ||
avatar: 'picture', | ||
email: '=', | ||
} | ||
}; | ||
|
||
module.exports = me; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"settings": { | ||
"createApp": { | ||
"url": "https://login.uber.com/applications/new", | ||
}, | ||
"copyingKey": { | ||
"url": "https://login.uber.com/applications", | ||
}, | ||
"install": { | ||
"href": { | ||
"provider": "https://uber.com/", | ||
"docs": "https://developer.uber.com/v1/api-reference/" | ||
} | ||
}, | ||
"sample": { | ||
"method": "get", | ||
"url": "/v1/me" | ||
}, | ||
"endpoints": { | ||
"me": { | ||
"method": "get", | ||
"url": "/v1/me" | ||
} | ||
}, | ||
"jsfiddle": "http://jsfiddle.net/willjcksn/2hb6B/embedded/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "Zendesk", | ||
"desc": "Zendesk is a beautiful, lightweight help desk solution. Use Zendesk's API to easily manage your users, enhance your support team's productivity and create seamless integrations.", | ||
"url": "https://{subdomain}.zendesk.com/oauth", | ||
"oauth2": { | ||
"authorize": { | ||
"url": "/authorizations/new", | ||
"query": { | ||
"client_id": "{client_id}", | ||
"response_type": "code", | ||
"redirect_uri": "{{callback}}", | ||
"state": "{{state}}", | ||
"scope": "{scope}" | ||
} | ||
}, | ||
"access_token": { | ||
"url": "/tokens", | ||
"extra": ["scope"] | ||
}, | ||
"refresh": "/tokens", | ||
"parameters": { | ||
"subdomain": "string", | ||
"client_secret": "string", | ||
"client_id": "string", | ||
"scope": { | ||
"values": { | ||
"read": "Read access on data.", | ||
"write": "Write access on data." | ||
} | ||
} | ||
} | ||
}, | ||
"href": { | ||
"docs": "http://developer.zendesk.com", | ||
"provider": "http://zendesk.com/" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"settings": { | ||
"install": { | ||
"href": { | ||
"provider": "http://zendesk.com/", | ||
"docs": "http://developer.zendesk.com" | ||
} | ||
}, | ||
"sample": { | ||
"method": "get", | ||
"url": "/api/v2/users/me" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters