mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 05:39:52 +01:00
Implement appointment reading
This commit is contained in:
13
klotz.go
13
klotz.go
@@ -8,9 +8,10 @@ type AnimeUser struct {
|
||||
}
|
||||
|
||||
type AnimeUserExtended struct {
|
||||
Anime int64 `json:"anime"`
|
||||
Users []WatchUser `json:"users"`
|
||||
Data Anime `json:"data"`
|
||||
Anime int64 `json:"anime"`
|
||||
Users []WatchUser `json:"users"`
|
||||
Data Anime `json:"data"`
|
||||
Appointments []Appointment `json:"appointments"`
|
||||
}
|
||||
|
||||
type Anime struct {
|
||||
@@ -52,6 +53,12 @@ type AnimeStudio struct {
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type Appointment struct {
|
||||
Anime int64 `json:"anime"`
|
||||
Time time.Time `json:"date"`
|
||||
Users []string `json:"users"`
|
||||
}
|
||||
|
||||
type WatchUser struct {
|
||||
Username string `json:"username"`
|
||||
MalID int64 `json:"malId"`
|
||||
|
||||
Reference in New Issue
Block a user