![]() |
Qore DiscordDataProvider Module Reference 2.0
|
Qore DiscordDataProvider module definition
The DiscordDataProvider module provides a data provider API for Discord cloud REST API services.
This data provider provides Discord API access to:
To use this data provider, you will need a connection that has already executed the OAuth2 authorization code flow and acquired a token to communicate with the Discord API.
The name of the Discord data provider factory is discord.
These examples are with qdp, the command-line interface to the Data Provider API, and additionally assume that there is an available connection called discord, which has been fully authorized with OAuth2 to access Discord on behalf of the user.
qdp discord/guilds-by-name/"My Server"/get dor
qdp discord/user-info dor
qdp -s discordws discord/discordws ix