-
Notifications
You must be signed in to change notification settings - Fork 1
Versions
Daniel edited this page Jul 17, 2023
·
1 revision
Versions are often specific to a certain modloader and game version.
To get a version's information you'll need to create an instance of ModrinthVersion
, which can be done in one of two ways:
# Where `zzz` is the project's slug or ID
project = modrinth.Projects.ModrinthProject('zzz')
# This is the first method, which is recommended
project.getVersion('1.20.1-1.0.0')
# Alternatively
Version.ModrinthVersion(project, '1.20.1-1.0.0')