Enums Reference
Services
The special enum.Enum for dealing with services.
- class pykemo.services.services_enum.ServiceType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
StrEnumService enum.
- SUSCRIBE_STAR = 'subscribestar'
A SubscribeStar service type.
URLs
When dealing with the URLs of types.
- class pykemo.core.urltypes.UrlType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
StrEnumTypes of URL endpoints.
Note
The DATA type can be further formatted into different servers. It may not be used as-is.
- API = 'https://kemono.su/api/v1'
The URL entrypoint for the Kemono API.
- DATA = 'https://c{i}.kemono.su'
The URL for the backend that stores assets.
- DISCORD = 'https://cdn.discordapp.com'
A special URL specifically for Discord assets.
- SITE = 'https://kemono.su'
The URL for the Kemono site itself.
Account Roles
The clearance rank a specific account has.
- class pykemo.accounts.role.AccountRole(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
StrEnumDifferent roles of a Kemono account.
- ADMINISTRATOR = 'administrator'
An administrator account with full privileges.
- CONSUMER = 'consumer'
A normal consumer account.
- MODERATOR = 'moderator'
A moderator account that controls some structures.
Creator Link Request Status
The current status of a creator link request.
- class pykemo.moderation.requests.creator_lnk_status.CreatorLinkStatus(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
StrEnumThe current status of a creator link request.
- OTHER = 'other'
A creator link in an unknow situation.
- PENDING = 'pending'
A creator link pending of review.