Remora.Discord.Rest 48.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0 .NET Standard 2.1
dotnet add package Remora.Discord.Rest --version 48.0.0
NuGet\Install-Package Remora.Discord.Rest -Version 48.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.
<PackageReference Include="Remora.Discord.Rest" Version="48.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 48.0.0
#r "nuget: Remora.Discord.Rest, 48.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=48.0.0

// Install Remora.Discord.Rest as a Cake Tool
#tool nuget:?package=Remora.Discord.Rest&version=48.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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 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

VTP.Remora.Discord.HTTPInteractions

Adds support for receiving interactions over HTTP to Remora.Discord

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
48.0.0 10,893 7/24/2023
47.1.0 18,081 5/11/2023
47.0.0 1,759 3/20/2023
46.0.0 2,433 1/19/2023
45.0.1 1,832 1/10/2023
45.0.0 2,244 12/28/2022
44.0.1 4,068 12/10/2022
44.0.0 2,925 10/30/2022
43.0.0 19,545 9/2/2022
42.0.0 3,264 8/19/2022
41.0.1 5,395 7/26/2022
41.0.0 2,829 7/26/2022
40.0.4 6,386 6/29/2022
40.0.3 2,914 6/27/2022
40.0.2 3,105 6/23/2022
40.0.1 3,837 6/20/2022
40.0.0 2,914 6/19/2022
39.0.1 2,928 6/18/2022
39.0.0 2,935 6/14/2022
38.0.1 2,902 6/8/2022
38.0.0 2,969 6/3/2022
37.0.0 2,979 5/25/2022
36.0.0 5,292 5/15/2022
35.0.1 3,016 5/10/2022
35.0.0 4,833 5/3/2022
34.0.0 5,837 4/25/2022
33.0.0 3,608 4/18/2022
32.0.0 6,116 4/2/2022
31.0.0 7,294 3/15/2022
30.0.1 3,996 2/20/2022
30.0.0 2,733 2/19/2022
30.0.0-rc1 362 2/14/2022
29.0.0 2,782 2/14/2022
28.0.0 3,073 1/27/2022
27.1.0 4,694 1/11/2022
27.0.3 34,835 1/2/2022
27.0.2 2,211 12/23/2021
27.0.1 1,117 12/21/2021
27.0.0 1,335 12/16/2021
26.0.0 1,160 12/11/2021
25.0.3 1,356 12/5/2021
25.0.2 3,055 11/26/2021
25.0.1 6,954 11/24/2021
25.0.0 2,210 11/20/2021
24.0.3 1,910 11/9/2021
24.0.2 1,663 11/6/2021
24.0.1 2,011 10/30/2021
24.0.0 1,449 10/28/2021
23.0.8 3,599 10/15/2021
23.0.7 1,982 10/7/2021
23.0.5 1,515 10/3/2021
23.0.4 1,390 10/2/2021
23.0.3 1,324 9/30/2021
23.0.2 1,889 9/26/2021
23.0.1 1,349 9/24/2021
23.0.0 1,385 9/23/2021
22.0.5 1,400 9/16/2021
22.0.4 1,461 9/15/2021
22.0.3 1,566 9/8/2021
22.0.2 2,712 9/4/2021
22.0.1 3,020 8/21/2021
22.0.0 1,584 8/18/2021
21.0.2 2,123 8/12/2021
21.0.1 1,026 8/11/2021
21.0.0 1,702 8/11/2021
20.1.2 437 8/9/2021
20.1.1 2,815 8/2/2021
20.1.0 1,838 7/31/2021
20.0.0 1,461 7/29/2021
19.0.2 1,409 7/28/2021
19.0.1 1,281 7/28/2021
19.0.0 1,728 7/22/2021
18.0.0 1,298 7/17/2021
17.1.1 1,242 7/14/2021
17.1.0 1,338 7/12/2021
17.0.0 1,257 7/11/2021
16.0.1 1,319 7/5/2021
16.0.0 1,150 7/3/2021
15.0.0 1,166 7/1/2021
14.0.0 1,457 6/14/2021
13.0.0 828 6/10/2021
13.0.0-beta2 571 5/30/2021
13.0.0-beta1 953 5/28/2021
12.0.0 1,981 5/20/2021
11.0.0 1,612 5/4/2021
10.0.0 1,304 4/22/2021
9.0.1 1,245 4/15/2021
9.0.0 1,310 4/10/2021
8.0.0 1,441 4/5/2021
7.0.5 1,319 4/4/2021
7.0.4 1,873 3/28/2021
7.0.3 2,120 3/25/2021
7.0.2 2,409 3/16/2021
7.0.1 1,261 3/14/2021
7.0.0 2,076 3/11/2021
6.0.8 1,480 3/6/2021
6.0.7 1,321 3/1/2021
6.0.6 2,238 2/28/2021
6.0.5 2,354 2/22/2021
6.0.4 1,242 2/21/2021
6.0.3 991 2/16/2021
6.0.2 1,326 2/13/2021
6.0.1 1,600 2/11/2021
6.0.0 1,303 2/10/2021
5.0.1 1,075 2/6/2021
5.0.0 1,121 2/5/2021
4.0.2 1,096 1/29/2021
4.0.1 1,106 1/27/2021
4.0.0 1,378 1/21/2021
3.0.0 1,286 1/17/2021
2.0.1 1,152 1/10/2021
2.0.0 1,267 1/10/2021
1.1.2 1,227 1/9/2021
1.1.1 1,400 12/31/2020
1.1.0 1,262 12/27/2020
1.0.0 2,368 12/25/2020
1.0.0-beta8 506 12/18/2020
1.0.0-beta7 506 12/10/2020
1.0.0-beta6 558 11/26/2020
1.0.0-beta5 790 11/14/2020
1.0.0-beta4 712 11/8/2020
1.0.0-beta3 355 10/17/2020
1.0.0-beta2 350 10/6/2020
1.0.0-beta10 511 12/23/2020
1.0.0-beta1 352 10/6/2020
1.0.0-alpha1 346 9/27/2020

Update dependencies.
           BREAKING: Implement support for join and mention raid protection
           BREAKING: Add RateLimitPerUser to Voice and Stage channels.
           Implement onboarding mode.
           BREAKING: Add defaultForumLayout parameter.
           Implement approximate guild cound and partial guild.
           BREAKING: Implement with_counts for user guild endpoint.