Implement cache of login credentials.

Also add endpoints.ME to easily access the @me endpoint.
This commit is contained in:
Rapptz
2015-12-13 01:42:15 -05:00
parent fa3e5c8d77
commit 29ea58d008
2 changed files with 50 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ BASE = 'https://discordapp.com'
API_BASE = BASE + '/api'
GATEWAY = API_BASE + '/gateway'
USERS = API_BASE + '/users'
ME = USERS + '/@me'
REGISTER = API_BASE + '/auth/register'
LOGIN = API_BASE + '/auth/login'
LOGOUT = API_BASE + '/auth/logout'