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

Uploaded Source

File details

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

File metadata

  • Download URL: serverjars-api-1.0.1.tar.gz
  • Upload date:
  • Size: 4.2 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.1.tar.gz
Algorithm Hash digest
SHA256 46875be7225992e9a756e3d61bb6c7610d49592a1bd5f77d9d7ea962f2f8de69
MD5 2700b0ba0df134a13ce3264fc4410530
BLAKE2b-256 e8a613f3342fa334747c9cf4741e4bb7238360bb92caea9707e08f33c47fe015

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