From 29ea58d0080e0e6f4931fa9cb7fc4c04a2b248df Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 13 Dec 2015 01:42:15 -0500 Subject: Implement cache of login credentials. Also add endpoints.ME to easily access the @me endpoint. --- discord/endpoints.py | 1 + 1 file changed, 1 insertion(+) (limited to 'discord/endpoints.py') diff --git a/discord/endpoints.py b/discord/endpoints.py index 7266b775..d3e7f197 100644 --- a/discord/endpoints.py +++ b/discord/endpoints.py @@ -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' -- cgit v1.2.3