Class CardmarketPricing
- Namespace
- TcgDex.Models
- Assembly
- TcgDex.CSharpSdk.dll
Cardmarket price points. Every figure is nullable: the API reports null for a series that has no data rather than omitting it.
public sealed record CardmarketPricing : IEquatable<CardmarketPricing>Inheritance
Implements
Inherited Members
Remarks
The API abbreviates these keys (idProduct, avg7,
avg-holo); the properties spell them out and carry explicit name
mappings to the keys.
Properties
Average
Average sale price.
[JsonPropertyName("avg")]
public decimal? Average { get; init; }Property Value
Average1Day
Average price over the last day.
[JsonPropertyName("avg1")]
public decimal? Average1Day { get; init; }Property Value
Average1DayHolo
Holofoil average over the last day.
[JsonPropertyName("avg1-holo")]
public decimal? Average1DayHolo { get; init; }Property Value
Average30Days
Average price over the last 30 days.
[JsonPropertyName("avg30")]
public decimal? Average30Days { get; init; }Property Value
Average30DaysHolo
Holofoil average over the last 30 days.
[JsonPropertyName("avg30-holo")]
public decimal? Average30DaysHolo { get; init; }Property Value
Average7Days
Average price over the last 7 days.
[JsonPropertyName("avg7")]
public decimal? Average7Days { get; init; }Property Value
Average7DaysHolo
Holofoil average over the last 7 days.
[JsonPropertyName("avg7-holo")]
public decimal? Average7DaysHolo { get; init; }Property Value
AverageHolo
Average sale price for the holofoil printing.
[JsonPropertyName("avg-holo")]
public decimal? AverageHolo { get; init; }Property Value
Low
Lowest available price.
public decimal? Low { get; init; }Property Value
LowHolo
Lowest available price for the holofoil printing.
[JsonPropertyName("low-holo")]
public decimal? LowHolo { get; init; }Property Value
ProductId
Cardmarket's internal product identifier.
[JsonPropertyName("idProduct")]
public int? ProductId { get; init; }Property Value
- int?
Trend
Current price trend.
public decimal? Trend { get; init; }Property Value
TrendHolo
Price trend for the holofoil printing.
[JsonPropertyName("trend-holo")]
public decimal? TrendHolo { get; init; }Property Value
Unit
Currency code; "EUR" for this source.
public string? Unit { get; init; }Property Value
Updated
When these prices were last refreshed; null when absent or not a readable timestamp.
[JsonConverter(typeof(TimestampConverter))]
public DateTimeOffset? Updated { get; init; }