Skip to main content

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)

Uploaded Source

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

Hashes for serverjars-api-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0d88d38f6d7e2d1e799992b726360dc4b5f004e5d9140a99159cc8fbb07d5e65
MD5 a8f8e2dfbb835aa51bd12203152b5fe4
BLAKE2b-256 c179da1fd6a00fd722f0e345f46500e9363690074f8de411ea44a1aee6e52a9d

See more details on using hashes here.

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