-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLastFMRecord.cs
76 lines (66 loc) · 1.76 KB
/
LastFMRecord.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
using Newtonsoft.Json;
namespace LastFM.ReaderCore
{
public class LastFMRecord
{
public Recenttracks recenttracks { get; set; }
}
public class Recenttracks
{
public Track[] track { get; set; }
[JsonProperty(PropertyName = "@attr")]
public Attr attr { get; set; }
}
public class Attr
{
public string user { get; set; }
public string page { get; set; }
public string perPage { get; set; }
public string totalPages { get; set; }
public string total { get; set; }
}
public class Track
{
public Artist artist { get; set; }
public string loved { get; set; }
public string name { get; set; }
public string streamable { get; set; }
public string mbid { get; set; }
public Album album { get; set; }
public string url { get; set; }
public Image[] image { get; set; }
public Date date { get; set; }
public string user { get; set; }
public string genre { get; set; }
public string cleanTitle { get; set; }
}
public class Artist
{
public string name { get; set; }
public string mbid { get; set; }
public string url { get; set; }
public Image[] image { get; set; }
}
public class Image
{
public string text { get; set; }
public string size { get; set; }
}
public class Album
{
public string text { get; set; }
public string mbid { get; set; }
}
public class Date
{
public string text { get; set; }
public string uts { get; set; }
}
/*
public class Image1
{
public string text { get; set; }
public string size { get; set; }
}
*/
}