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: StrEnum

Service enum.

AFDIAN = 'afdian'

A Afdian service type.

BOOSTY = 'boosty'

A Boosty service type.

DISCORD = 'discord'

A Discord service type.

DLSITE = 'dlsite'

A DLSite service type.

FANBOX = 'fanbox'

A Fanbox service type.

FANTIA = 'fantia'

A Fantia service type.

GUMROAD = 'gumroad'

A Gumroad service type.

PATREON = 'patreon'

A Patreon service type.

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: StrEnum

Types 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: StrEnum

Different 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.