added started and completed at structs

This commit is contained in:
John O'Keefe 2024-07-27 12:57:36 -04:00
parent 65c12472f1
commit 5035712402

View File

@ -63,7 +63,17 @@ type MediaList struct {
Episode int `json:"episode"` Episode int `json:"episode"`
} `json:"nextAiringEpisode"` } `json:"nextAiringEpisode"`
} `json:"media"` } `json:"media"`
Status string `json:"status"` Status string `json:"status"`
StartedAt struct {
Year int `json:"year"`
Month int `json:"month"`
Day int `json:"day"`
} `json:"startedAt"`
CompletedAt struct {
Year int `json:"year"`
Month int `json:"month"`
Day int `json:"day"`
} `json:"completedAt"`
Notes string `json:"notes"` Notes string `json:"notes"`
Progress int `json:"progress"` Progress int `json:"progress"`
Score int `json:"score"` Score int `json:"score"`