Skip to content

Commit

Permalink
Add discord.js and base URL (discord#22)
Browse files Browse the repository at this point in the history
* Add discord.js to the list
With dev confirmation in Discord

* Add base URL (fix discord#21)
  • Loading branch information
abalabahaha authored and b1naryth1ef committed Apr 13, 2016
1 parent 61ad26a commit 459ff30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Discord's API is based around two core layers, a HTTPS/REST API for general operations, and persistent secure websocket based connection for sending and subscribing to real-time events. The most common use case of the Discord API will be providing a service, or access to a platform through the [OAuth2](http://oauth.net/2/) API.

## Base URL

The base URL for all API requests is:

```
https://discordapp.com/api
```

## Authentication

Authenticating with the Discord API can be done in one of two ways:
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/LIBRARIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ The following is a set of recommended libraries that are _not_ maintained by Dis
| [DiscordPHP](https://github.com/teamreflex/DiscordPHP)* | PHP |
| [DiscordSharp](https://github.com/Luigifan/DiscordSharp) | C# |
| [Discord.Net](https://github.com/RogueException/Discord.Net) | C# |

| [discord.js](https://github.com/hydrabolt/discord.js) | NodeJS |

\* *DiscordPHP is maintained by someone who [isn't very good](https://twitter.com/Orcon/status/714538083656404992) at Counter-Strike: Global Offensive, and regularly loses 1v1s. Use at your own risk.*

0 comments on commit 459ff30

Please sign in to comment.