Skip to main content

Unofficial Saizeriya Client

Project description

saizeriya

PyPI Release Package CI

ghcr latest ghcr size

Unofficial Saizeriya Client, inspired by saizeriya.js

Installation

pip install saizeriya
# or, (CLI only)
pipx install saizeriya

Usage

CLI

$ saizeriya
usage: saizeriya [-h] <command> ...

Saizeriya order CLI.

positional arguments:
  <command>
    start       Start a new ordering session
    use         Resume a saved session
    list        List saved sessions
    rm          Remove a saved session
    fetch-menu  Crawl menu data for shops

options:
  -h, --help    show this help message and exit

To start session named lunch and ener REPL:

saizeriya start lunch "https://ioes03.saizeriya.co.jp/saizeriya3/?..."

After start/use, available commands in REPL:

state
people <count>
lookup <code>
add <code> [count] [--mod-id <id>] [--mod-count <count>] [--reorder]
cart
cart-page
remove <index>
submit
account
receipt
call [staff|dessert]
menu
history
reorder <code>
alcohol
check <order|last|midnight>
help
exit

Library

import saizeriya

# check version
print(saizeriya.__version__)

# create client instance
client = new SaizeriyaClient(
  qr_url_source="https://example.com/saizeriya3/qr",
  people_count=2,
)

# add new item to cart
in_cart_items = client.add_item('1202').cart

# check in-cart items
print(in_cart_items)

Docker

docker run --rm -it ghcr.io/eggplants/saizeriya

License

MIT License

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

saizeriya-0.1.1.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

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

saizeriya-0.1.1-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file saizeriya-0.1.1.tar.gz.

File metadata

  • Download URL: saizeriya-0.1.1.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for saizeriya-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d78e00ecdc02dc8b67e1f30a54c2c0d1821ae8c1e6aa18b9df1dd9cf101262b8
MD5 dc257c16d15fef4c1489a531d7774459
BLAKE2b-256 2a6cb7a30637539bc4ab41609320021bcbbcd0779d02b1a281c7e81695a860bf

See more details on using hashes here.

File details

Details for the file saizeriya-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: saizeriya-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for saizeriya-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 655059e292c1d75d51671e1db94facf94c80c79f810fdec719a8bbd87893b924
MD5 dfee142c8108e12e37107c36b48bac22
BLAKE2b-256 123d094caedc7fb8a7b4d65ec8dc2497f51384ae446d582a815dcbb2079c560b

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