Skip to main content

Retrieving latest Minecraft versions.

Project description

MinecraftAssetsGetterPlus is a script that parses the XML of http://assets.minecraft.org to find the most recent version of vanilla Minecraft, either the latest stable or prerelease version. It is a fork of https://bitbucket.org/Knoppo/mag.

Usage often looks like this:

from magplus.magplus import MinecraftAssetsGetter

mag = MinecraftAssetsGetter()
print "Latest Prerelease Server: ", mag.getLatestServer()
print "Latest Prerelease Client: ", mag.getLatestClient()
print "Latest Stable Server: ", mag.getLatestServer(stable=True)
print "Latest Stable Client: ", mag.getLatestClient(stable=True)
print "Previous Prerelease Server: ", mag.getServer(versions_old=1)
print "Previous Stable Server: ", mag.getServer(stable=True, versions_old=1)

Todo

  • Add support for Bukkit servers

License

This project is released under the GPLv2.

Thanks

Thanks to Knoppo for writing the original version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MAGPlus-0.1.0.tar.gz (14.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page