From 50357124024fd124eebc9b60a76ab5f2cd1c2a84 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sat, 27 Jul 2024 12:57:36 -0400 Subject: [PATCH] added started and completed at structs --- AniListTypes.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/AniListTypes.go b/AniListTypes.go index 14c7462..0bded8d 100644 --- a/AniListTypes.go +++ b/AniListTypes.go @@ -63,7 +63,17 @@ type MediaList struct { Episode int `json:"episode"` } `json:"nextAiringEpisode"` } `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"` Progress int `json:"progress"` Score int `json:"score"`