diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2022-02-17 14:51:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 14:51:50 +0000 |
commit | b1ad199abaf9684b120d73acb04dddc213c87af8 (patch) | |
tree | a4c0a4650a94859eb256204dec25aa04ac8caf15 /user/anime/animelist.structs.go | |
parent | 541c75949e862f6fd1081bc4081b08187fa7da7b (diff) | |
parent | 5c94f2f8e7026b9a4dff874edbf3b4fa3b266516 (diff) |
Merge pull request #4 from MikunoNaka/user-animelist
Added all the endpoints to access user info and also update user animelist
Diffstat (limited to 'user/anime/animelist.structs.go')
-rw-r--r-- | user/anime/animelist.structs.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/user/anime/animelist.structs.go b/user/anime/animelist.structs.go index d874f7b..cee47d2 100644 --- a/user/anime/animelist.structs.go +++ b/user/anime/animelist.structs.go @@ -1,4 +1,4 @@ -/* mal2go - MyAnimeList V2 API wrapper for Go +/* MAL2Go - MyAnimeList V2 API wrapper for Go * Copyright (C) 2022 Vidhu Kant Sharma <vidhukant@protonmail.ch> * This program is free software: you can redistribute it and/or modify @@ -29,14 +29,14 @@ type AnimeListRaw struct { } type UpdateAnimeData struct { - Status string `json:"status"` - IsRewatching bool `json:"is_rewatching"` - Score int `json:"score"` - EpWatched int `json:"num_watched_episodes"` - Priority int `json:"priority"` - TimesRewatched int `json:"num_times_rewatched"` + Status string + IsRewatching bool + Score int + EpWatched int + Priority int + TimesRewatched int // NOTE: idk what RewatchValue is - RewatchValue int `json:"rewatch_value"` - Tags string `json:"tags"` - Comments string `json:"comments"` + RewatchValue int + Tags string + Comments string } |