Class TrackAssets
Content related to a track, including images.
Inherited Members
Namespace: Aydsko.iRacingData.Tracks
Assembly: Aydsko.iRacingData.dll
Syntax
public class TrackAssets
Fields
ImagePathBase
Declaration
public const string ImagePathBase = "https://images-static.iracing.com/"
Field Value
Type | Description |
---|---|
string |
Properties
Coordinates
Latitude and longitude of the circuit.
Declaration
[JsonPropertyName("coordinates")]
public string? Coordinates { get; set; }
Property Value
Type | Description |
---|---|
string |
DetailCopy
Description or details about the track in HTML format.
Declaration
[JsonPropertyName("detail_copy")]
public string? DetailCopy { get; set; }
Property Value
Type | Description |
---|---|
string |
DetailTechnicalSpecificationsCopy
Additional technical detail about the track in HTML format.
Declaration
[JsonPropertyName("detail_techspecs_copy")]
public string? DetailTechnicalSpecificationsCopy { get; set; }
Property Value
Type | Description |
---|---|
string |
DetailTechspecsCopy
Declaration
[Obsolete("Use DetailTechnicalSpecificationsCopy instead.")]
public object? DetailTechspecsCopy { get; set; }
Property Value
Type | Description |
---|---|
object |
DetailVideo
Declaration
[JsonPropertyName("detail_video")]
public object? DetailVideo { get; set; }
Property Value
Type | Description |
---|---|
object |
Folder
Folder name within the static images site where the large and small track images are stored.
Declaration
[JsonPropertyName("folder")]
public string? Folder { get; set; }
Property Value
Type | Description |
---|---|
string |
GalleryImages
Declaration
[JsonPropertyName("gallery_images")]
[Obsolete("Property is a legacy item that does not represent how things work. (See: https://forums.iracing.com/discussion/comment/310714/#Comment_310714)")]
public string? GalleryImages { get; set; }
Property Value
Type | Description |
---|---|
string |
GalleryPrefix
Declaration
[JsonPropertyName("gallery_prefix")]
[Obsolete("Property is a legacy item that does not represent how things work. (See: https://forums.iracing.com/discussion/comment/310714/#Comment_310714)")]
public string? GalleryPrefix { get; set; }
Property Value
Type | Description |
---|---|
string |
GeographicalCoordinate
Latitude and longitude of the circuit.
Declaration
[JsonIgnore]
public TrackCoordinate? GeographicalCoordinate { get; }
Property Value
Type | Description |
---|---|
TrackCoordinate? |
Remarks
Parsed version of the Coordinates property value.
LargeImage
File name for the blurred image of the track, in a large size.
Declaration
[JsonPropertyName("large_image")]
public string? LargeImage { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Needs to be combined with the ImagePathBase and Folder to build a full URL.
Pre-built URL available in the LargeImageUrl property.
LargeImageUrl
URL to a blurred image of the track, in a large size.
Declaration
[JsonIgnore]
public Uri LargeImageUrl { get; }
Property Value
Type | Description |
---|---|
Uri |
Remarks
Pre-built URL of the value in the LargeImage property.
Logo
Logo image for the track.
Declaration
[JsonPropertyName("logo")]
public string? Logo { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Needs to be combined with the ImagePathBase to build a full URL.
Pre-built URL available in the LogoUrl property.
LogoUrl
URL to a logo image for the track.
Declaration
[JsonIgnore]
public Uri LogoUrl { get; }
Property Value
Type | Description |
---|---|
Uri |
Remarks
Pre-built URL of the value in the Logo property.
North
Declaration
[JsonPropertyName("north")]
public string? North { get; set; }
Property Value
Type | Description |
---|---|
string |
NumberOfSvgImages
Total number of screenshot images available.
Declaration
[JsonPropertyName("num_svg_images")]
public int NumberOfSvgImages { get; set; }
Property Value
Type | Description |
---|---|
int |
SmallImage
File name for the blurred image of the track, in a small size.
Declaration
[JsonPropertyName("small_image")]
public string? SmallImage { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Needs to be combined with the ImagePathBase and Folder to build a full URL.
Pre-built URL available in the SmallImageUrl property.
SmallImageUrl
URL to a blurred image of the track, in a small size.
Declaration
[JsonIgnore]
public Uri SmallImageUrl { get; }
Property Value
Type | Description |
---|---|
Uri |
Remarks
Pre-built URL of the value in the SmallImage property.
TrackId
Unique identifier for the track this relates to.
Declaration
[JsonPropertyName("track_id")]
public int TrackId { get; set; }
Property Value
Type | Description |
---|---|
int |
TrackMap
The base URL for the track map images detailed in TrackMapLayers.
Declaration
[JsonPropertyName("track_map")]
public string TrackMap { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
TrackMapLayers
Track map image files to be combined with the base URL in TrackMap.
Declaration
[JsonPropertyName("track_map_layers")]
public MapLayers TrackMapLayers { get; set; }
Property Value
Type | Description |
---|---|
MapLayers |