A Python API wrapper for the Palworld Rest API.
Project description
Palworld REST API Wrapper
palworld-api
is an API wrapper for the new Palworld Rest API. This supports all endpoints of the API and has been thoroughly tested.
Version
v1.0.0
Installation
- Install
palworld-api
using pip:pip install palworld-api
Requirements
- Python 3.8+
- RestAPI Enabled
Usage
Refer to example files to get an idea of how this works. Here is a basic usage:
async def main():
server_url = "http://localhost:8212"
username = "admin"
password = "admin password"
api = PalworldAPI(server_url, username, password)
server_info = await api.get_server_info()
print("Server Info:", server_info)
if __name__ == "__main__":
asyncio.run(main())
Resources
For detailed documentation on the Palworld REST API, check out the official REST API Documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
palworld-api-1.0.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for palworld_api-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe666355667828e8d64285fdf36225e3ab231982f6e6e8b73f524b5c18aeea53 |
|
MD5 | 8ee9d9946434e4dc61db5482978c9916 |
|
BLAKE2b-256 | 4e1bf87456e35e908a4c2b461d6270fd7143544fb5e57da6558f43375ae010ed |