mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 21:57:06 +02:00
Funkwhale: Implemented LovesExport
This commit is contained in:
parent
48c8843f91
commit
9316838d59
6 changed files with 446 additions and 13 deletions
|
@ -35,6 +35,20 @@ type Listening struct {
|
|||
CreationDate string `json:"creation_date"`
|
||||
}
|
||||
|
||||
type FavoriteTracksResult struct {
|
||||
Count int `json:"count"`
|
||||
Previous string `json:"previous"`
|
||||
Next string `json:"next"`
|
||||
Results []FavoriteTrack `json:"results"`
|
||||
}
|
||||
|
||||
type FavoriteTrack struct {
|
||||
Id int `json:"int"`
|
||||
User User `json:"user"`
|
||||
Track Track `json:"track"`
|
||||
CreationDate string `json:"creation_date"`
|
||||
}
|
||||
|
||||
type Track struct {
|
||||
Id int `json:"int"`
|
||||
Artist Artist `json:"artist"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue