Fixed Simkl Bugs
This commit is contained in:
@ -27,10 +27,10 @@ type SimklUser struct {
|
||||
}
|
||||
|
||||
type SimklWatchList struct {
|
||||
Anime []Anime `json:"anime" ts_type:"anime"`
|
||||
Anime []SimklAnime `json:"anime" ts_type:"anime"`
|
||||
}
|
||||
|
||||
type Anime struct {
|
||||
type SimklAnime struct {
|
||||
LastWatchedAt string `json:"last_watched_at" ts_type:"last_watched_at"`
|
||||
Status string `json:"status" ts_type:"status"`
|
||||
UserRating float64 `json:"user_rating" ts_type:"user_rating"`
|
||||
@ -105,3 +105,17 @@ type SimklShowStatus struct {
|
||||
Ids `json:"ids" ts_type:"ids"`
|
||||
To string `json:"to" ts_type:"to"`
|
||||
}
|
||||
|
||||
type SimklSearchType []struct {
|
||||
Type string `json:"type"`
|
||||
Title string `json:"title"`
|
||||
Poster string `json:"poster"`
|
||||
Year int `json:"year"`
|
||||
Status string `json:"status"`
|
||||
Ids struct {
|
||||
Simkl int `json:"simkl"`
|
||||
Slug string `json:"slug"`
|
||||
} `json:"ids"`
|
||||
TotalEpisodes int `json:"total_episodes"`
|
||||
AnimeType string `json:"anime_type"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user