def mods(VERSION): """ Returns a list of mods on the selected [VERSION]. [ALL] is an acceptable request for [VERSION]. """ d = urllib2.urlopen(entrypoint(str(VERSION)) + '.json') e = json.loads(d.read()) return e
def recent(): """ Returns a dict of recent changes. It is the most recent partial piece of the changelog of all supported versions. """ d = urllib2.urlopen(entrypoint('recent.json')) e = json.loads(d.read()) return e
def md5hash(VERSION): """ Returns the md5 hash of the selected [VERSION]. [ALL] is an acceptable request for [VERSION]. Hash request is returned in plain text, not JSON. This is an md5 hash of the requested json file. """ d = urllib2.urlopen(entrypoint(str(VERSION)) + '.md5') return d.read()