Documentation for sankaku's enum
types
sankaku.types.Rating
Bases: str
, Enum
SAFE = 's'
class-attribute
instance-attribute
QUESTIONABLE = 'q'
class-attribute
instance-attribute
EXPLICIT = 'e'
class-attribute
instance-attribute
sankaku.types.PostOrder
Bases: Enum
POPULARITY = 'popularity'
class-attribute
instance-attribute
DATE = 'date'
class-attribute
instance-attribute
QUALITY = 'quality'
class-attribute
instance-attribute
RANDOM = 'random'
class-attribute
instance-attribute
RECENTLY_FAVORITED = 'recently_favorited'
class-attribute
instance-attribute
RECENTLY_VOTED = 'recently_voted'
class-attribute
instance-attribute
sankaku.types.SortParameter
Bases: Enum
NAME = 'name'
class-attribute
instance-attribute
TRANSLATIONS = 'name_ja'
class-attribute
instance-attribute
TYPE = 'type'
class-attribute
instance-attribute
RATING = 'rating'
class-attribute
instance-attribute
BOOK_COUNT = 'pool_count'
class-attribute
instance-attribute
POST_COUNT = 'count'
class-attribute
instance-attribute
sankaku.types.SortDirection
Bases: Enum
ASC = 'asc'
class-attribute
instance-attribute
DESC = 'desc'
class-attribute
instance-attribute
sankaku.types.TagOrder
Bases: Enum
POPULARITY = 'popularity'
class-attribute
instance-attribute
QUALITY = 'quality'
class-attribute
instance-attribute
sankaku.types.TagType
Bases: Enum
ARTIST = 1
class-attribute
instance-attribute
COPYRIGHT = 3
class-attribute
instance-attribute
CHARACTER = 4
class-attribute
instance-attribute
GENERAL = 0
class-attribute
instance-attribute
MEDIUM = 8
class-attribute
instance-attribute
META = 9
class-attribute
instance-attribute
GENRE = 5
class-attribute
instance-attribute
STUDIO = 2
class-attribute
instance-attribute
sankaku.types.FileType
Bases: Enum
IMAGE = 'image'
class-attribute
instance-attribute
GIF = 'gif'
class-attribute
instance-attribute
VIDEO = 'video'
class-attribute
instance-attribute
sankaku.types.FileSize
Bases: Enum
LARGE = 'large_filesize'
class-attribute
instance-attribute
HUGE = 'extremely_large_filesize'
class-attribute
instance-attribute
LONG = 'long_image'
class-attribute
instance-attribute
WALLPAPER = 'wallpaper'
class-attribute
instance-attribute
A_RATIO_16_9 = '16:9_aspect_ratio'
class-attribute
instance-attribute
A_RATIO_4_3 = '4:3_aspect_ratio'
class-attribute
instance-attribute
A_RATIO_3_2 = '3:2_aspect_ratio'
class-attribute
instance-attribute
A_RATIO_1_1 = '1:1_aspect_ratio'
class-attribute
instance-attribute
sankaku.types.UserOrder
Bases: Enum
POSTS = 'post_upload_count'
class-attribute
instance-attribute
FAVORITES = 'favorite_count'
class-attribute
instance-attribute
NAME = 'name'
class-attribute
instance-attribute
NEWEST = 'newest'
class-attribute
instance-attribute
OLDEST = 'oldest'
class-attribute
instance-attribute
LAST_SEEN = 'active'
class-attribute
instance-attribute
sankaku.types.UserLevel
Bases: Enum
ADMIN = 50
class-attribute
instance-attribute
SYSTEM_USER = 45
class-attribute
instance-attribute
MODERATOR = 40
class-attribute
instance-attribute
JANITOR = 35
class-attribute
instance-attribute
CONTRIBUTOR = 33
class-attribute
instance-attribute
PRIVILEGED = 30
class-attribute
instance-attribute
MEMBER = 20
class-attribute
instance-attribute
BLOCKED = 10
class-attribute
instance-attribute
UNACTIVATED = 0
class-attribute
instance-attribute
sankaku.types.BookOrder
Bases: Enum