Implements the Open Libary metadata plugin.

This commit is contained in:
BinaryAlley committed 2026-08-12 10:19:29 -07:00
1 parent a8d2a1514e
commit a34f5a731e
19 files changed
+1912

No files matched your search

@@ -0,0 +1,29 @@
#region ========================================================================= USING =====================================================================================
using System.Text.Json.Serialization;
#endregion
namespace Lumina.Plugins.OpenLibrary.Common.Models.Contracts.Responses;
/// <summary>
/// Represents a response for an author from the Open Library API.
/// </summary>
internal sealed record OpenLibraryAuthorResponse
{
/// <summary>
/// Gets the key of the author.
/// </summary>
[JsonPropertyName("key")]
public string? Key { get; init; }
/// <summary>
/// Gets the name of the author.
/// </summary>
[JsonPropertyName("name")]
public string? Name { get; init; }
/// <summary>
/// Gets the personal name of the author.
/// </summary>
[JsonPropertyName("personal_name")]
public string? PersonalName { get; init; }
}