aboutsummaryrefslogtreecommitdiff
path: root/anime/anime.structs.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-05 14:18:46 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-05 14:18:46 +0530
commitb876e67c2b21631231a06a4f7c929cb212d01595 (patch)
tree093aedcc62275ae2e929ae2f4353c72f4d50d92a /anime/anime.structs.go
parenta01c567bf41778a5ca4c7d5b77eb375d4f058d63 (diff)
implemented searching to MAL
Diffstat (limited to 'anime/anime.structs.go')
-rw-r--r--anime/anime.structs.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/anime/anime.structs.go b/anime/anime.structs.go
index 2db1b19..d9d4221 100644
--- a/anime/anime.structs.go
+++ b/anime/anime.structs.go
@@ -92,7 +92,11 @@ type Anime struct {
Popularity int `json:"popularity"`
NumListUsers int `json:"num_list_users"`
NumScoringUsers int `json:"num_scoring_users"`
- NsfwStatus string `json:"nsfw"` // find out what values are there
+ /* NsfwStatus potential values:
+ * white = sfw
+ * gray = probably nsfw
+ * black = nsfw */
+ NsfwStatus string `json:"nsfw"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
MediaType string `json:"media_type"`