From 07b680dde374d1693dd9e96e1da34d4d1dc2d500 Mon Sep 17 00:00:00 2001 From: Stefan Mansson Date: Sun, 9 Feb 2020 19:09:31 +0100 Subject: [PATCH] feat: add User api --- src/Dribbble.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Dribbble.ts b/src/Dribbble.ts index f8c4d27..8ae32cf 100644 --- a/src/Dribbble.ts +++ b/src/Dribbble.ts @@ -64,4 +64,12 @@ export default class Dribbble { }, }; } + + public static get user() { + return { + get: () => { + return Request.fetch({ url: '/user', method: 'GET' }); + }, + }; + } }