Remora.Discord.API 62.0.1 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET 5.0 .NET Standard 2.1
Install-Package Remora.Discord.API -Version 62.0.1
dotnet add package Remora.Discord.API --version 62.0.1
<PackageReference Include="Remora.Discord.API" Version="62.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Remora.Discord.API --version 62.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Remora.Discord.API, 62.0.1"
#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.API as a Cake Addin
#addin nuget:?package=Remora.Discord.API&version=62.0.1

// Install Remora.Discord.API as a Cake Tool
#tool nuget:?package=Remora.Discord.API&version=62.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 records, 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
.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 (3)

Showing the top 3 NuGet packages that depend on Remora.Discord.API:

Package Downloads
Remora.Discord.Rest 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 Discord's REST API

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

Utilities and components which extened upon Remora.Discord's base resources

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
62.0.1 49 6/23/2022
62.0.0 172 6/19/2022
61.0.0 186 6/18/2022
60.0.0 125 6/14/2022
59.0.1 181 6/8/2022
59.0.0 186 6/3/2022
58.0.1 287 5/25/2022
58.0.0 435 5/15/2022
57.1.0 242 5/10/2022
57.0.0 397 5/3/2022
56.0.0 385 4/25/2022
55.0.0 349 4/18/2022
54.0.0 571 4/2/2022
53.0.0 686 3/15/2022
52.0.0 853 2/19/2022
52.0.0-rc1 54 2/14/2022
51.0.0 234 2/14/2022
50.0.0 535 1/27/2022
49.0.0 663 1/11/2022
48.0.1 9,063 1/2/2022
48.0.0 628 12/23/2021
47.0.0 328 12/21/2021
46.0.0 486 12/16/2021
45.0.0 358 12/11/2021
44.0.2 455 12/5/2021
44.0.1 2,131 11/26/2021
44.0.0 6,216 11/24/2021
43.0.0 1,281 11/20/2021
42.0.1 1,076 11/9/2021
42.0.0 660 11/6/2021
41.0.1 831 10/30/2021
41.0.0 623 10/28/2021
40.0.0 1,883 10/15/2021
39.0.1 1,179 10/7/2021
38.0.0 708 10/3/2021
37.0.0 595 10/2/2021
36.0.0 611 9/30/2021
35.0.1 789 9/26/2021
35.0.0 584 9/24/2021
34.0.0 588 9/23/2021
33.0.0 565 9/16/2021
32.0.0 631 9/15/2021
31.0.0 709 9/8/2021
30.0.0 1,665 9/4/2021
29.0.1 2,028 8/21/2021
29.0.0 693 8/18/2021
28.0.0 922 8/12/2021
27.0.0 940 8/11/2021
26.0.1 288 8/9/2021
26.0.0 1,161 8/2/2021
25.0.0 840 7/31/2021
24.0.2 650 7/29/2021
24.0.1 632 7/28/2021
24.0.0 544 7/28/2021
23.0.0 776 7/22/2021
22.0.2 577 7/17/2021
22.0.1 531 7/14/2021
22.0.0 907 7/11/2021
21.0.1 879 7/3/2021
21.0.0 492 7/1/2021
20.0.0 742 6/14/2021
19.0.0 424 6/10/2021
19.0.0-beta2 401 5/30/2021
19.0.0-beta1 553 5/28/2021
18.0.0 821 5/20/2021
17.0.0 671 5/4/2021
16.0.0 531 4/22/2021
15.0.1 520 4/15/2021
15.0.0 610 4/10/2021
14.0.0 612 4/5/2021
13.0.0 606 4/4/2021
12.0.2 867 3/28/2021
12.0.1 934 3/25/2021
12.0.0 1,009 3/16/2021
11.0.1 1,141 3/11/2021
11.0.0 669 3/6/2021
10.0.1 579 3/1/2021
10.0.0 922 2/28/2021
9.0.0 994 2/22/2021
8.2.0 530 2/21/2021
8.1.0 797 2/13/2021
8.0.0 683 2/11/2021
7.0.0 558 2/10/2021
6.1.0 534 2/6/2021
6.0.0 542 2/5/2021
5.0.0 535 1/29/2021
4.1.0 545 1/27/2021
4.0.0 667 1/21/2021
3.0.0 594 1/17/2021
2.0.2 559 1/10/2021
2.0.1 1,370 12/31/2020
2.0.0 592 12/27/2020
1.0.0 1,081 12/25/2020
1.0.0-beta9 369 12/18/2020
1.0.0-beta8 348 12/10/2020
1.0.0-beta7 416 11/26/2020
1.0.0-beta6 208 11/15/2020
1.0.0-beta5 568 11/14/2020
1.0.0-beta4 562 11/8/2020
1.0.0-beta3 320 10/17/2020
1.0.0-beta2 340 10/6/2020
1.0.0-beta11 361 12/23/2020
1.0.0-beta1 328 10/6/2020
1.0.0-alpha1 310 9/27/2020

Update dependencies.