No description
Find a file
2025-04-19 23:43:49 -07:00
src/mylarp-api Script can now login given user credentials. 2025-04-19 23:43:49 -07:00
tests I looked at Poetry and oh that's neat actually. 2025-04-19 16:29:17 -07:00
.gitignore Script can now login given user credentials. 2025-04-19 23:43:49 -07:00
poetry.lock I looked at Poetry and oh that's neat actually. 2025-04-19 16:29:17 -07:00
pyproject.toml I looked at Poetry and oh that's neat actually. 2025-04-19 16:29:17 -07:00
README.md Script can now login given user credentials. 2025-04-19 23:43:49 -07:00
requirements.txt I looked at Poetry and oh that's neat actually. 2025-04-19 16:29:17 -07:00
sample_config.toml Script can now login given user credentials. 2025-04-19 23:43:49 -07:00

MyLARP Web API

A parser and REST API for using https://mylarp.dev/

This really doesn't do much just yet, just a proof of concept.

Setup

Rename the sample_config.toml to config.toml. Then, edit it to include your credentials for login, and the proper url for mylarp.

Create Virtual Environment

python -m venv ./.venv
source ./.venv/bin/activate

Install Dependencies

You can then install dependencies with Poetry, or using the requirements.txt

Poetry

pip install poetry
poetry install --no-root

requirements.txt

pip install -r ./requirements.txt

Usage

If you installed with Poetry:

poetry run ./src/mylarp-api/mylarp-api.py

Otherwise:

python ./src/mylarp-api/mylarp-api.py