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.2.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.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skolmaten-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 90f3b502e8c3626423b3d728fd6b1d6270e958a4cb7a9a2f98da4cf377ac2211
MD5 ec32766f561f271cf1c308f59ff81798
BLAKE2b-256 8e1f356ebe2ac63814070a99c1f4ea0081c79c015ab45d0bbf75b3b8fb3dcc8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skolmaten-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e8ef324150f1ef2ceefcfe1dcfd55262fa12b4bd97a36e151815650ff9388db
MD5 c31032dca636ea3fbe352b2b291cfe57
BLAKE2b-256 e86d70fe759a32deb0f20ce5a6cc3247ae883836e01c976b85532af4fc07f7a7

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