aboutsummaryrefslogtreecommitdiff
path: root/mg.go
diff options
context:
space:
mode:
Diffstat (limited to 'mg.go')
-rw-r--r--mg.go70
1 files changed, 70 insertions, 0 deletions
diff --git a/mg.go b/mg.go
index 05eb640..7b7cea5 100644
--- a/mg.go
+++ b/mg.go
@@ -41,3 +41,73 @@ const (
Tags = "tags"
Comments = "comments"
)
+
+// for getting ranking list
+const (
+ // for anime only
+ RankingTypeAiring = "airing"
+ RankingTypeUpcoming = "upcoming"
+ RankingTypeTV = "tv"
+ RankingTypeOVA = "ova"
+ RankingTypeMovie = "movie"
+ RankingTypeSpecial = "special"
+
+ // for manga only
+ RankingTypeManga = "manga"
+ RankingTypeNovel = "novels"
+ RankingTypeOneShot = "oneshots"
+ RankingTypeDoujin = "doujin"
+ RankingTypeManhwa = "manhwa"
+ RankingTypeManhua = "manhua"
+
+ // for both
+ RankingTypeAll = "all"
+ RankingTypeByPopularity = "bypopularity"
+ RankingTypeFavorite = "favorite"
+)
+
+// for anime/manga list sort
+const (
+ // for anime only
+ SortByAnimeTitle = "anime_title"
+ SortByAnimeStartDate = "anime_start_date"
+ SortByAnimeId = "anime_id"
+
+ // for manga only
+ SortByMangaTitle = "manga_title"
+ SortByMangaStartDate = "manga_start_date"
+ SortByMangaId = "manga_id"
+
+ // for both
+ SortByListScore = "list_score"
+ SortByListUpdatedAt = "list_updated_at"
+)
+
+// for anime/manga list status
+const (
+ // for anime only
+ ListStatusWatching = "watching"
+ ListStatusPTW = "plan_to_watch"
+
+ // for manga only
+ ListStatusReading = "watching"
+ ListStatusPTR = "plan_to_read"
+
+ // for both
+ ListStatusCompleted = "completed"
+ ListStatusOnHold = "on_hold"
+ ListStatusDropped = "dropped"
+)
+
+// for anime seasons
+const (
+ // season names
+ SeasonWinter = "winter"
+ SeasonSpring = "spring"
+ SeasonSummer = "summer"
+ SeasonFall = "fall"
+
+ // sorting
+ SeasonSortByAnimeScore = "anime_score"
+ SeasonSortByNumListUsers = "num_list_users"
+)