mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-31 04:58:12 +00:00
Added a couple of URLS
This commit is contained in:
parent
f224c16f40
commit
633f8d0183
1 changed files with 21 additions and 0 deletions
21
Github/urls.py
Normal file
21
Github/urls.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
#== urls.py ==#
|
||||
|
||||
BASE_URL = 'https://api.github.com'
|
||||
|
||||
|
||||
#== user urls ==#
|
||||
USERS_URL = BASE_URL + '/users/{0}'
|
||||
|
||||
USER_HTML_URL = 'https://github.com/users/{0}'
|
||||
|
||||
SELF_URL = BASE_URL + '/user'
|
||||
|
||||
USER_REPOS_URL = USERS_URL + '/repos'
|
||||
|
||||
USER_ORGS_URL = USERS_URL + '/orgs'
|
||||
|
||||
USER_GISTS_URL = USERS_URL + '/gists'
|
||||
|
||||
USER_FOLLOWERS_URL = USERS_URL + '/followers'
|
||||
|
||||
USER_FOLLOWING_URL = USERS_URL + '/following'
|
Loading…
Add table
Add a link
Reference in a new issue