Skip to main content

Fetch food menu information from skolmaten.se

Project description

Skolmaten

PyPI version License Python versions

The skolmaten python package provides a convenient way to fetch school food menu information for Swedish schools connected to skolmaten.se.

Installation

pip install skolmaten

View Skolmaten at pypi

Usage

Provide year and week as parameters to at.

>>> from skolmaten import SchoolFood
>>> food = SchoolFood(school="0b4d4d77-7b27-4591-a03e-28309e039b1e")
>>> food.at(2025, 10) # returns skolmaten json data

You school id can be found in the URL of the school's page on skolmaten.se. For example, the school with id 0b4d4d77-7b27-4591-a03e-28309e039b1e has the URL https://skolmaten.se/menu/fbcb1b38-978c-42b9-a1ef-71798654e1d9?school=0b4d4d77-7b27-4591-a03e-28309e039b1e.

License

This package is not in any way related to the makers of skolmaten.se and is licensed under the WTFPL 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

skolmaten-0.1.3.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

skolmaten-0.1.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file skolmaten-0.1.3.tar.gz.

File metadata

  • Download URL: skolmaten-0.1.3.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for skolmaten-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f754ff05fd966a5e71f5314bc623f8a7a4a13b4858cb2205209095451dbe4231
MD5 b4fe57aeea04f06b3ef0bbdbbb5344b7
BLAKE2b-256 ab6014f65bfaa00747d26067f63e1616ed0fa11b1b78c65dae41e566118bd576

See more details on using hashes here.

File details

Details for the file skolmaten-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: skolmaten-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for skolmaten-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e84b1fa2ca5b29f5491fd5f44e193d742bbf2c6ddaaa53a97fb1257f5c01b6a
MD5 97cc292627e530077c78f9e3bc5855c9
BLAKE2b-256 39385d1cfcba8e785f258b57baa2b3b266a8425d939213ddcc80c8339218e6ac

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