The unofficial Python wrapper for serverjars.com
Project description
serverjars
The unofficial Python wrapper for serverjars.com
Code Examples:
Fetching the latest jar:
import serverjars
latest = serverjars.fetchLatest('vanilla')
print(latest)
Fetching all the Jars:
import serverjars
allJars = serverjars.fetchAll('paper')
print(allJars)
Fetching types:
import serverjars
types = serverjars.fetchTypes()
print(types)
Fetching subtypes:
import serverjars
subtypes = serverjars.fetchTypes('bedrock')
print(subtypes)
Downloading Jars:
import serverjars
def on_finish(jar):
print('Downloaded', jar)
serverjars.downloadJar('snapshot', finishcommand=on_finish)
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
serverjars-api-1.1.0.tar.gz
(4.5 kB
view details)
File details
Details for the file serverjars-api-1.1.0.tar.gz
.
File metadata
- Download URL: serverjars-api-1.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d88d38f6d7e2d1e799992b726360dc4b5f004e5d9140a99159cc8fbb07d5e65 |
|
MD5 | a8f8e2dfbb835aa51bd12203152b5fe4 |
|
BLAKE2b-256 | c179da1fd6a00fd722f0e345f46500e9363690074f8de411ea44a1aee6e52a9d |