Remora.Discord.API
78.0.0
Prefix Reserved
dotnet add package Remora.Discord.API --version 78.0.0
NuGet\Install-Package Remora.Discord.API -Version 78.0.0
<PackageReference Include="Remora.Discord.API" Version="78.0.0" />
paket add Remora.Discord.API --version 78.0.0
#r "nuget: Remora.Discord.API, 78.0.0"
// Install Remora.Discord.API as a Cake Addin #addin nuget:?package=Remora.Discord.API&version=78.0.0 // Install Remora.Discord.API as a Cake Tool #tool nuget:?package=Remora.Discord.API&version=78.0.0
Remora.Discord.API
This package contains the implementation of Discord's API interface models, provided by Remora.Discord.API.Abstractions.
Primarily, this project takes the completely agnostic interfaces and applies additional, domain-specific knowledge to them, such as serialization formats and data range validations.
Like its sibling, these types serve as the foundation of Remora.Discord's internal implementation, but can just as easily be used to implement your own Discord library.
The primary goal of this project is to provide a concrete implementation of Discord's API types, including data object de/serialization and externally imposed limitations.
Structure
The library mostly mirrors Remora.Discord.API.Abstractions in structure,
maintaining an implementation of each corresponding API object interface. The
implementations are record
s, enabling thread-safe usage across as many
concurrent actors as needed.
The Json
folder contains various converters to handle cases where the default
behaviour (from Remora.Rest
) is not appropriate, or the type is too complex to
realistically deserialize without special treatment.
There are also some helper types for accessing CDN assets, checking image formats, and storing Discord-provided constant values.
Usage
Beyond the concrete implementations of Discord's objects, the library provides a
single extension method for the IServiceCollection
type.
services.ConfigureDiscordJsonConverters();
This method will add a named set of JsonSerializerOptions
with all
appropriate JSON converters for the various API, objects along with configuring
naming rules.
Product | Versions 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. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.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. |
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
- Remora.Discord.API.Abstractions (>= 82.0.0)
- Remora.Rest (>= 3.4.0)
- System.Text.Json (>= 8.0.3)
-
net6.0
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
- Remora.Discord.API.Abstractions (>= 82.0.0)
- Remora.Rest (>= 3.4.0)
- System.Text.Json (>= 8.0.3)
-
net7.0
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
- Remora.Discord.API.Abstractions (>= 82.0.0)
- Remora.Rest (>= 3.4.0)
- System.Text.Json (>= 8.0.3)
-
net8.0
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
- Remora.Discord.API.Abstractions (>= 82.0.0)
- Remora.Rest (>= 3.4.0)
- System.Text.Json (>= 8.0.3)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Remora.Discord.API:
Package | Downloads |
---|---|
Remora.Discord.Rest
Remora.Discord's implementation of Discord's REST API |
|
Remora.Discord.Extensions
Utilities and components which extend upon Remora.Discord's base resources |
|
Remora.Discord.Unstable
Unstable or experimental features of Remora.Discord. |
|
VTP.Remora.Views
A (currently POC) library to implement views (e.g. MVC) into the Remora.Discord library. |
|
VTP.Remora.Discord.Builders
Adds builders to make Remora.Discord slightly easier to use. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
78.0.0 | 26,824 | 5/28/2024 |
77.0.0 | 24,898 | 2/5/2024 |
76.0.0 | 46,788 | 11/14/2023 |
75.0.0 | 29,998 | 7/24/2023 |
74.0.0 | 19,469 | 5/11/2023 |
73.0.0 | 3,305 | 3/20/2023 |
72.0.0 | 3,926 | 1/19/2023 |
71.0.0 | 3,305 | 1/10/2023 |
70.0.0 | 3,720 | 12/28/2022 |
69.0.0 | 6,372 | 12/10/2022 |
68.0.0 | 4,866 | 10/30/2022 |
67.0.0 | 21,425 | 9/2/2022 |
66.0.0 | 4,997 | 8/19/2022 |
65.0.0 | 10,868 | 7/26/2022 |
64.0.0 | 8,594 | 6/29/2022 |
63.0.0 | 4,703 | 6/27/2022 |
62.0.1 | 5,295 | 6/23/2022 |
62.0.0 | 8,942 | 6/19/2022 |
61.0.0 | 4,664 | 6/18/2022 |
60.0.0 | 4,704 | 6/14/2022 |
59.0.1 | 4,715 | 6/8/2022 |
59.0.0 | 4,786 | 6/3/2022 |
58.0.1 | 4,828 | 5/25/2022 |
58.0.0 | 7,670 | 5/15/2022 |
57.1.0 | 4,887 | 5/10/2022 |
57.0.0 | 7,146 | 5/3/2022 |
56.0.0 | 8,190 | 4/25/2022 |
55.0.0 | 5,844 | 4/18/2022 |
54.0.0 | 9,704 | 4/2/2022 |
53.0.0 | 10,393 | 3/15/2022 |
52.0.0 | 9,095 | 2/19/2022 |
52.0.0-rc1 | 1,680 | 2/14/2022 |
51.0.0 | 4,616 | 2/14/2022 |
50.0.0 | 4,839 | 1/27/2022 |
49.0.0 | 7,154 | 1/11/2022 |
48.0.1 | 36,383 | 1/2/2022 |
48.0.0 | 4,099 | 12/23/2021 |
47.0.0 | 1,878 | 12/21/2021 |
46.0.0 | 2,069 | 12/16/2021 |
45.0.0 | 1,880 | 12/11/2021 |
44.0.2 | 2,643 | 12/5/2021 |
44.0.1 | 3,770 | 11/26/2021 |
44.0.0 | 7,698 | 11/24/2021 |
43.0.0 | 3,010 | 11/20/2021 |
42.0.1 | 2,614 | 11/9/2021 |
42.0.0 | 2,444 | 11/6/2021 |
41.0.1 | 2,823 | 10/30/2021 |
41.0.0 | 2,137 | 10/28/2021 |
40.0.0 | 4,411 | 10/15/2021 |
39.0.1 | 2,736 | 10/7/2021 |
38.0.0 | 2,329 | 10/3/2021 |
37.0.0 | 2,148 | 10/2/2021 |
36.0.0 | 2,082 | 9/30/2021 |
35.0.1 | 2,787 | 9/26/2021 |
35.0.0 | 2,133 | 9/24/2021 |
34.0.0 | 2,134 | 9/23/2021 |
33.0.0 | 2,163 | 9/16/2021 |
32.0.0 | 2,238 | 9/15/2021 |
31.0.0 | 2,277 | 9/8/2021 |
30.0.0 | 3,548 | 9/4/2021 |
29.0.1 | 3,835 | 8/21/2021 |
29.0.0 | 2,352 | 8/18/2021 |
28.0.0 | 3,280 | 8/12/2021 |
27.0.0 | 3,634 | 8/11/2021 |
26.0.1 | 686 | 8/9/2021 |
26.0.0 | 4,038 | 8/2/2021 |
25.0.0 | 2,625 | 7/31/2021 |
24.0.2 | 2,215 | 7/29/2021 |
24.0.1 | 2,176 | 7/28/2021 |
24.0.0 | 2,027 | 7/28/2021 |
23.0.0 | 2,571 | 7/22/2021 |
22.0.2 | 2,026 | 7/17/2021 |
22.0.1 | 1,963 | 7/14/2021 |
22.0.0 | 3,466 | 7/11/2021 |
21.0.1 | 3,323 | 7/3/2021 |
21.0.0 | 1,901 | 7/1/2021 |
20.0.0 | 2,241 | 6/14/2021 |
19.0.0 | 1,184 | 6/10/2021 |
19.0.0-beta2 | 1,195 | 5/30/2021 |
19.0.0-beta1 | 1,559 | 5/28/2021 |
18.0.0 | 3,124 | 5/20/2021 |
17.0.0 | 2,464 | 5/4/2021 |
16.0.0 | 2,020 | 4/22/2021 |
15.0.1 | 2,020 | 4/15/2021 |
15.0.0 | 2,022 | 4/10/2021 |
14.0.0 | 2,202 | 4/5/2021 |
13.0.0 | 2,126 | 4/4/2021 |
12.0.2 | 2,712 | 3/28/2021 |
12.0.1 | 2,949 | 3/25/2021 |
12.0.0 | 3,618 | 3/16/2021 |
11.0.1 | 4,496 | 3/11/2021 |
11.0.0 | 2,266 | 3/6/2021 |
10.0.1 | 2,075 | 3/1/2021 |
10.0.0 | 3,358 | 2/28/2021 |
9.0.0 | 3,519 | 2/22/2021 |
8.2.0 | 2,034 | 2/21/2021 |
8.1.0 | 3,150 | 2/13/2021 |
8.0.0 | 2,349 | 2/11/2021 |
7.0.0 | 2,044 | 2/10/2021 |
6.1.0 | 1,862 | 2/6/2021 |
6.0.0 | 1,867 | 2/5/2021 |
5.0.0 | 1,874 | 1/29/2021 |
4.1.0 | 1,845 | 1/27/2021 |
4.0.0 | 2,192 | 1/21/2021 |
3.0.0 | 2,056 | 1/17/2021 |
2.0.2 | 1,895 | 1/10/2021 |
2.0.1 | 4,765 | 12/31/2020 |
2.0.0 | 2,010 | 12/27/2020 |
1.0.0 | 3,644 | 12/25/2020 |
1.0.0-beta9 | 1,077 | 12/18/2020 |
1.0.0-beta8 | 1,108 | 12/10/2020 |
1.0.0-beta7 | 1,146 | 11/26/2020 |
1.0.0-beta6 | 287 | 11/15/2020 |
1.0.0-beta5 | 1,778 | 11/14/2020 |
1.0.0-beta4 | 1,374 | 11/8/2020 |
1.0.0-beta3 | 531 | 10/17/2020 |
1.0.0-beta2 | 517 | 10/6/2020 |
1.0.0-beta11 | 1,099 | 12/23/2020 |
1.0.0-beta1 | 512 | 10/6/2020 |
1.0.0-alpha1 | 503 | 9/27/2020 |
Update dependencies.
BREAKING: Implement support for user applications.
BREAKING: Implement support for one-time purchases.
Implement bulk banning endpoint.
BREAKING: Implement support for polls.