Remora.Discord.Rest 43.0.0

.NET 6.0 .NET Standard 2.1
NuGet\Install-Package Remora.Discord.Rest -Version 43.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package Remora.Discord.Rest --version 43.0.0
<PackageReference Include="Remora.Discord.Rest" Version="43.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Remora.Discord.Rest --version 43.0.0
#r "nuget: Remora.Discord.Rest, 43.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Remora.Discord.Rest as a Cake Addin
#addin nuget:?package=Remora.Discord.Rest&version=43.0.0

// Install Remora.Discord.Rest as a Cake Tool
#tool nuget:?package=Remora.Discord.Rest&version=43.0.0

Remora.Discord.Rest

This package contains an implementations of Discord's REST API, complete with client-side data validation checks and full rate limiting support.

The primary goal of this project is to provide a concrete, rules-compliant implementation of Discord's REST API endpoints, mapping them to appropriately accessible asynchronous tasks and services.

Structure

The library mostly mirrors Remora.Discord.API.Abstractions in structure, maintaining an implementation of each corresponding REST API interface. The implementations are registered as transient services, available to you via dependency injection.

Usage

To enable injection of the REST API services, add them to your service container by way of the AddDiscordRest extension method.

services.AddDiscordRest(serviceProvider => GetTokenFromSomewhere(serviceProvider));

Two things to note:

  • You are not required to call any other methods from dependency libraries (such as Remora.Discord.API) - this call takes care of all transitive dependencies itself.
  • You must, at this point, provide a way to access your bot's token in plain text. This access only happens after the container is constructed, and an API instance is requested, so you have access to the built container.

After this point, you may inject any of the IDiscordRest[...]API services into your own services.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Remora.Discord.Rest:

Package Downloads
Remora.Discord.Gateway The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Remora.Discord's implementation of a Discord gateway client

Remora.Discord.Unstable The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Unstable or experimental features of Remora.Discord

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
43.0.0 1,384 9/2/2022
42.0.0 702 8/19/2022
41.0.1 1,342 7/26/2022
41.0.0 265 7/26/2022
40.0.4 1,701 6/29/2022
40.0.3 316 6/27/2022
40.0.2 475 6/23/2022
40.0.1 622 6/20/2022
40.0.0 347 6/19/2022
39.0.1 394 6/18/2022
39.0.0 340 6/14/2022
38.0.1 412 6/8/2022
38.0.0 405 6/3/2022
37.0.0 466 5/25/2022
36.0.0 750 5/15/2022
35.0.1 407 5/10/2022
35.0.0 685 5/3/2022
34.0.0 753 4/25/2022
33.0.0 539 4/18/2022
32.0.0 935 4/2/2022
31.0.0 1,142 3/15/2022
30.0.1 923 2/20/2022
30.0.0 382 2/19/2022
30.0.0-rc1 66 2/14/2022
29.0.0 400 2/14/2022
28.0.0 702 1/27/2022
27.1.0 965 1/11/2022
27.0.3 17,090 1/2/2022
27.0.2 824 12/23/2021
27.0.1 415 12/21/2021
27.0.0 620 12/16/2021
26.0.0 458 12/11/2021
25.0.3 515 12/5/2021
25.0.2 2,302 11/26/2021
25.0.1 6,280 11/24/2021
25.0.0 1,403 11/20/2021
24.0.3 1,136 11/9/2021
24.0.2 764 11/6/2021
24.0.1 973 10/30/2021
24.0.0 719 10/28/2021
23.0.8 2,859 10/15/2021
23.0.7 1,270 10/7/2021
23.0.5 757 10/3/2021
23.0.4 644 10/2/2021
23.0.3 658 9/30/2021
23.0.2 895 9/26/2021
23.0.1 628 9/24/2021
23.0.0 643 9/23/2021
22.0.5 657 9/16/2021
22.0.4 717 9/15/2021
22.0.3 763 9/8/2021
22.0.2 1,772 9/4/2021
22.0.1 2,133 8/21/2021
22.0.0 817 8/18/2021
21.0.2 1,054 8/12/2021
21.0.1 457 8/11/2021
21.0.0 793 8/11/2021
20.1.2 256 8/9/2021
20.1.1 1,316 8/2/2021
20.1.0 930 7/31/2021
20.0.0 714 7/29/2021
19.0.2 684 7/28/2021
19.0.1 603 7/28/2021
19.0.0 855 7/22/2021
18.0.0 621 7/17/2021
17.1.1 573 7/14/2021
17.1.0 659 7/12/2021
17.0.0 550 7/11/2021
16.0.1 585 7/5/2021
16.0.0 556 7/3/2021
15.0.0 531 7/1/2021
14.0.0 796 6/14/2021
13.0.0 434 6/10/2021
13.0.0-beta2 377 5/30/2021
13.0.0-beta1 564 5/28/2021
12.0.0 914 5/20/2021
11.0.0 723 5/4/2021
10.0.0 578 4/22/2021
9.0.1 560 4/15/2021
9.0.0 662 4/10/2021
8.0.0 681 4/5/2021
7.0.5 629 4/4/2021
7.0.4 941 3/28/2021
7.0.3 1,035 3/25/2021
7.0.2 1,124 3/16/2021
7.0.1 617 3/14/2021
7.0.0 901 3/11/2021
6.0.8 708 3/6/2021
6.0.7 619 3/1/2021
6.0.6 1,028 2/28/2021
6.0.5 1,116 2/22/2021
6.0.4 556 2/21/2021
6.0.3 420 2/16/2021
6.0.2 596 2/13/2021
6.0.1 737 2/11/2021
6.0.0 604 2/10/2021
5.0.1 528 2/6/2021
5.0.0 546 2/5/2021
4.0.2 527 1/29/2021
4.0.1 528 1/27/2021
4.0.0 697 1/21/2021
3.0.0 622 1/17/2021
2.0.1 579 1/10/2021
2.0.0 624 1/10/2021
1.1.2 638 1/9/2021
1.1.1 731 12/31/2020
1.1.0 609 12/27/2020
1.0.0 1,198 12/25/2020
1.0.0-beta8 336 12/18/2020
1.0.0-beta7 314 12/10/2020
1.0.0-beta6 365 11/26/2020
1.0.0-beta5 506 11/14/2020
1.0.0-beta4 507 11/8/2020
1.0.0-beta3 272 10/17/2020
1.0.0-beta2 294 10/6/2020
1.0.0-beta10 307 12/23/2020
1.0.0-beta1 271 10/6/2020
1.0.0-alpha1 270 9/27/2020

Fix more naming.