Enumerators

Modio enums as defined by the API

class modio.enums.IntFlagMixin[source]

Mixin class for IntFlags containing formatting methods.

class modio.enums.TargetPlatform[source]

Enums for different type of target platforms

windows = 'Windows'
mac = 'Mac'
linux = 'Linux'
android = 'Android'
ios = 'iOS'
xboxone = 'XboxOne'
xboxseriesx = 'XboxSeriesX'
ps4 = 'PS4'
ps5 = 'PS5'
switch = 'Switch'
oculus = 'Oculus'
source = 'Source'
class modio.enums.TargetPortal[source]

Enums for different type of target portals

apple = 'Apply'
discord = 'Discord'
epic = 'EGS'
facebook = 'Facebook'
gog = 'GOG'
google = 'Google'
itchio = 'Itchio'
nintendo = 'Nintendo'
openid = 'OpenID'
psn = 'PSN'
steam = 'Steam'
xboxlive = 'XBoxLive'
class modio.enums.Status[source]

Status of the game. 0 : Not accepted 1 : Accepted (default) 2 : Archived (default) 3 : Deleted

not_accepted = 0
accepted = 1
archived = 2
deleted = 3
class modio.enums.ModFilePlatformStatus[source]

Status of a modfile for the specific platform.

0 : Pending 1 : Accepted 2 : Denied

pending = 0
accepted = 1
denied = 2
class modio.enums.Presentation[source]

0 : Display mods for that game in a grid on mod.io 1 : Display mods for that game in a table on mod.io

grid = 0
table = 1
class modio.enums.Submission[source]

0 : Mod uploads must occur via a tool created by the game developers 1 : Mod uploads can occur from anywhere, including the website and API

restricted = 0
unrestricted = 1
class modio.enums.Curation[source]

0 : No curation: Mods are immediately available to play 1 : Paid curation: Mods are immediately available to play unless they choose to receive donations. These mods must be accepted to be listed 2 : Full curation: All mods must be accepted by someone to be listed

no_curation = 0
paid_curation = 1
full_curation = 2
class modio.enums.Community[source]

0 : All of the options below are disabled 1 : Discussion board enabled 2 : Guides and news enabled ? : Above options can be added together to create custom settings (e.g 3 : discussion board, guides and news enabled)

disabled = 0
discussion_boards = 1
guides_news = 2
class modio.enums.Revenue[source]

0 : All of the options below are disabled 1 : Allow mods to be sold 2 : Allow mods to receive donations 4 : Allow mods to be traded 8 : Allow mods to control supply and scarcity ? : Above options can be added together to create custom settings (e.g 3 : allow mods to be sold and receive donations)

disabled = 0
sold = 1
donations = 2
traded = 4
full_control = 8
class modio.enums.APIAccess[source]

0 : All of the options below are disabled 1 : Allow 3rd parties to access this games API endpoints 2 : Allow mods to be downloaded directly (if disabled all download URLs will contain a frequently changing verification hash to stop unauthorized use) ? : Above options can be added together to create custom settings (e.g 3 : allow 3rd parties to access this games API endpoints and allow mods to be downloaded directly)

disabled = 0
third_party = 1
direct_downloads = 2
class modio.enums.MaturityOptions[source]
0 : Don’t allow mod developpers to decide whether or not to flag their mod as
containing mature content (if game devs wish to handle it)
1 : Allow mod developpers to decide whether or not to flag their mod as
containing mature content
forbidden = 0
allowed = 1
class modio.enums.Maturity[source]

0 : None 1 : Alcohol 2 : Drugs 4 : Violence 8 : Explicit ? : Above options can be added together to create custom settings (e.g 3 : alcohol and drugs present)

none = 0
alcohol = 1
drugs = 2
violence = 4
explicit = 8
class modio.enums.VirusStatus[source]

0 : Not scanned 1 : Scan complete 2 : In progress 3 : Too large to scan 4 : File not found 5 : Error Scanning

not_scanned = 0
scan_complete = 1
in_progress = 2
too_large = 3
not_found = 4
error = 5
class modio.enums.Visibility[source]

0 : Hidden 1 : Public

hidden = 0
public = 1
class modio.enums.Level[source]

Level of permission the user has. 1 : Moderator (can moderate comments and content attached) 4 : Manager (moderator access, including uploading builds and editing settings except supply and team members) 8 : Administrator (full access, including editing the supply and team)

moderator = 1
creator = 4
admin = 8
class modio.enums.Report[source]

0 : Generic Report 1 : DMCA Report

generic = 0
dmca = 1
class modio.enums.EventType[source]

An enum to render all event types easy to compare.

file_changed = 0
available = 1
unavailable = 2
edited = 3
deleted = 4
team_changed = 5
comment_added = 6
comment_deleted = 7
team_join = 8
team_leave = 9
subscribe = 10
unsubscribe = 11
class modio.enums.RatingType[source]

The type of rating submitted (good, bad, neutral)

good = 1
neutral = 0
bad = -1