pythonic bibliothek API wrapper
papermc-bibliothek requires python 3.9 or above
pip install papermc-bibliothek
poetry add papermc-bibliothek
All functions and classes are properly type hinted and documented with triple quotes. Please file an issue or pull request with any corrections if any issues are found.
You can refer to https://papermc.io/api if looking for a specific method, they are named similarly.
from bibliothek import Bibliothek, BibliothekException
bibliothek = Bibliothek() # Create an instance of the Bibliothek class
try:
projects = bibliothek.get_projects()
print(projects) # ['paper', 'travertine', 'waterfall', 'velocity']
except BibliothekException as e: # Catch BibliothekException in case something goes wrong
print(f"Error: {e}")