Start adding user API calls
This commit is contained in:
parent
15d80c1ab3
commit
8cbf2466cf
4 changed files with 68 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
|||
/// Contains currently supported endpoints and URLs.
|
||||
class DiscordEndpoints {
|
||||
/// Currently this is set to 10
|
||||
static const APIVersion = 10;
|
||||
|
||||
/// This is the current base URL of all discord API calls per reference.
|
||||
static const BaseURL = "https://discord.com/api/v${APIVersion}";
|
||||
static const ME = "/@me";
|
||||
static const Applications = "/applications";
|
||||
static const Users = "/users";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue