From a3ce851e5505016143b1da8dce8c6a2cc5d1c2ab Mon Sep 17 00:00:00 2001 From: RGBCube <78925721+RGBCube@users.noreply.github.com> Date: Mon, 27 Jun 2022 13:31:40 +0300 Subject: [PATCH] Add emojis routes --- github/internals/http.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/github/internals/http.py b/github/internals/http.py index 6e9a003..05772e4 100644 --- a/github/internals/http.py +++ b/github/internals/http.py @@ -57,7 +57,7 @@ class RateLimits(NamedTuple): # Dependency Graph # Deploy keys # Deployments -# Emojis +# Emojis DONE # Enterprise administration # Gists DONE(1st part) # Git database @@ -850,3 +850,8 @@ class HTTPClient: async def get_gitignore_template(self, *, name: str): return await self.request("GET", f"/gitignore/templates/{name}") + + # === EMOJIS === # + + async def get_emojis(self) -> Dict[str, str]: + return await self.request("GET", "/emojis")