Skip to main content

The unofficial Python API for ServerJars

Project description

ServerJars-API

The unofficial Python API for ServerJars

Code Examples:

Fetching the latest jar:

latest = ServerJars.fetchLatest(category=Category.vanilla)
print(latest)

Fetching all the Jars:

allJars = ServerJars.fetchAll(category=Category.paper)
print(allJars)

Fetching types:

types = ServerJars.fetchTypes()
print(types)

Fetching subtypes:

subtypes = Serverjars.fetchTypes(type=Type.bedrock)
print(subtypes)

Downloading Jars:

download = ServerJars.downloadJar(type=Category.purpur, version='1.13.2')
print(download)

Jar

The Jar class gets returned from most of the classes in this library.

Parameters

  • version - The version of the jar
  • size - The size of the jar.
  • md5 - md5 of the jar
  • built - The timestamp of when it was releaseed.
  • stability - The stability of the jar

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.0.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file serverjars-api-1.0.0.tar.gz.

File metadata

  • Download URL: serverjars-api-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for serverjars-api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 648c262c090cefb4b85f56f97570223d1d6203e61da82301f2f870fda3271ce7
MD5 a33c2bcc2572773bb9a9be58fc9f61ce
BLAKE2b-256 54415ed732ccda0f89a405c045708abc9e99cbe4e6c428d458b39f70b6b988af

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