[WIP] music platform user data scraper
teal-fm atproto
32
fork

Configure Feed

Select the types of activity you want to include in your feed.

at f6d44b09170e202eace45939889fd1650761d497 28 lines 783 B view raw
1package models 2 3import "time" 4 5// Track represents a Spotify track 6type Track struct { 7 PlayID int64 `json:"playId"` 8 Name string `json:"name"` 9 // analogous to "track" 10 RecordingMBID string `json:"trackMBID"` 11 Artist []Artist `json:"artist"` 12 Album string `json:"album"` 13 // analogous to "album" 14 ReleaseMBID string `json:"releaseMBID"` 15 URL string `json:"url"` 16 Timestamp time.Time `json:"timestamp"` 17 DurationMs int64 `json:"durationMs"` 18 ProgressMs int64 `json:"progressMs"` 19 ServiceBaseUrl string `json:"serviceBaseUrl"` 20 ISRC string `json:"isrc"` 21 HasStamped bool `json:"hasStamped"` 22} 23 24type Artist struct { 25 Name string `json:"name"` 26 ID string `json:"id"` 27 MBID string `json:"mbid"` 28}