Skip to main content

A FastAPI-based API for managing the Meridian 59 server.

Project description

Meridian 59 API (m59api)

This is a FastAPI-based API for managing a Meridian 59 server.


Installation

You can install m59api directly from PyPI:

pip install m59api

Official PyPI page: https://pypi.org/project/m59api/


Configuration

Before running the application, set the DISCORD_WEBHOOK_URL environment variable if you want to use Discord webhook features.

On Windows (Command Prompt or PowerShell):

set DISCORD_WEBHOOK_URL=https://your-discord-webhook-url

On macOS/Linux (bash/zsh):

export DISCORD_WEBHOOK_URL=https://your-discord-webhook-url

Running

Quick start with all defaults:

m59api

This will run the API on 127.0.0.1:8000 with log level info.

Specify options (optional):

m59api --host 0.0.0.0 --port 8000 --reload --log-level debug

Or with Uvicorn directly:

uvicorn m59api.main:app --reload

With Docker:

docker run --rm -it -e DISCORD_WEBHOOK_URL=https://your-discord-webhook-url -p 5959:5959 -p 8000:8000 -p 9998:9998 m59-linux-test

Configuration Options

  • --host: Host to bind to (default: 127.0.0.1)
  • --port: Port to bind to (default: 8000)
  • --reload: Enable auto-reload for development (default: off)
  • --log-level: Set log level (default: info)

You can combine these options as needed, or just run m59api for the defaults.


API Documentation


Disclaimer

This project is an independent, community-created tool for managing Meridian 59 servers.
It is not affiliated with, endorsed by, or supported by the official Meridian 59 project or its trademark holders.

Use at your own risk.
No warranty is provided. The authors are not responsible for any issues, data loss, or damages resulting from the use of this software.

Meridian 59 is a registered trademark of Andrew and Christopher Kirmse.
The official Meridian 59 repository can be found at:
https://github.com/Meridian59/Meridian59


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

m59api-0.1.4.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

m59api-0.1.4-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file m59api-0.1.4.tar.gz.

File metadata

  • Download URL: m59api-0.1.4.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for m59api-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9fcafe508f60c5bb201c2ced4c4680f0d07a44953e9dd3e8c77aff62dfd5abd6
MD5 faecf063efd6738b37d10426f2e6e839
BLAKE2b-256 fe85d2d1de2889aa104f095f566c6df72b5640b2f645cdeb0aef1f5f75a29877

See more details on using hashes here.

File details

Details for the file m59api-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: m59api-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for m59api-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2081b17e01ba176de4b99e785b1e9bb84052524d2110001e378cc788f02bec00
MD5 a684ee05c89d86faef865d92cb8fc947
BLAKE2b-256 a8e282b3efdeb4c0da0a7c811c1a80dce0b433565feb824729f1d39fb53ac8a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page