-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathr_artist.go
48 lines (47 loc) · 1.75 KB
/
r_artist.go
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
package whatapi
type Artist struct {
ID int `json:"id"`
Name string `json:"name"`
NotificationsEnabled bool `json:"notificationsEnabled"`
HasBookmarked bool `json:"hasBookmarked"`
Image string `json:"image"`
Body string `json:"body"`
VanityHouse bool `json:"vanityHouse"`
Tags []struct {
Name string `json:"name"`
Count int `json:"count"`
} `json:"tags"`
SimilarArtists []struct {
ArtistID int `json:"artistId"`
Name string `json:"name"`
Score int `json:"score"`
SimilarID int `json:"similarId"`
} `json:"similarArtists"`
Statistics struct {
NumGroups int `json:"numGroups"`
NumTorrents int `json:"numTorrents"`
NumSeeders int `json:"numSeeders"`
NumLeechers int `json:"numLeechers"`
NumSnatches int `json:"numSnatches"`
} `json:"statistics"`
TorrentGroup []struct {
GroupID int `json:"groupId"`
GroupYear int `json:"groupYear"`
GroupRecordLabel string `json:"groupRecordLabel"`
GroupCatalogueNumber string `json:"groupCatalogueNumber"`
Tags []string `json:"tags"`
ReleaseType int `json:"releaseType"`
GroupVanityHouse bool `json:"groupVanityHouse"`
HasBookmarked bool `json:"hasBookmarked"`
Torrent []TorrentType `json:"torrent"`
} `json:"torrentgroup"`
Requests []struct {
RequestID int `json:"requestId"`
CategoryID int `json:"categoryId"`
Title string `json:"title"`
Year int `json:"year"`
TimeAdded string `json:"timeAdded"`
Votes int `json:"votes"`
Bounty int64 `json:"bounty"`
} `json:"requests"`
}