Skip to content

bentunadeyilim1234/ServerJars-Wrapper-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

ServerJars Python Wrapper



Report Bug · Request Feature

Usage

Here is the simple usage list of ServerJars wrapper:

import serverjars as sj

#Initalize Client
client = sj.Client()

#Initalize Category (Optional)
paper = client.Category("paper")

#List Versions (Optional max)
client.GetVersions("paper")
paper.GetVersions(max=5)

#Get Details of Version (Optional version)
client.GetDetails("paper", "latest")
paper.GetDetails()

#Get Details of Latest Version
client.GetLatestDetails("paper")
paper.GetLatestDetails()

#Download (Optional version, fileName)
client.Download("paper", "1.18.2", "downloads/{}")
paper.Download()

#Download Latest (Optional fileName)
client.DownloadLatest("paper", "paper.jar")
paper.Download("latest")

License

Distributed under the GPL 3.0 license. See LICENSE for more information.

About

A python wrapper for serverjars using REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages