1
Fork 0
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:
sudosnok 2022-03-26 18:17:03 +00:00
parent f224c16f40
commit 633f8d0183

21
Github/urls.py Normal file
View 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'