Skip to content

A simple package that provides a convenient way to fetch school food menu information from skolmaten.se 🍔

License

Notifications You must be signed in to change notification settings

dunderrrrrr/skolmaten

Repository files navigation

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.

About

A simple package that provides a convenient way to fetch school food menu information from skolmaten.se 🍔

Topics

Resources

License

Stars

Watchers

Forks