Skip to main content

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

  1. 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


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)

Uploaded Source

Built Distribution

palworld_api-1.0.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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