https://github.com/beaufour/boonli_api
API for retrieving menus from boonli.com
https://github.com/beaufour/boonli_api
Last synced: about 1 month ago
JSON representation
API for retrieving menus from boonli.com
- Host: GitHub
- URL: https://github.com/beaufour/boonli_api
- Owner: beaufour
- License: apache-2.0
- Created: 2022-09-21T22:31:42.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T01:28:24.000Z (about 2 years ago)
- Last Synced: 2025-02-23T02:47:13.001Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 231 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boonli API
[](https://github.com/beaufour/boonli_api/actions/workflows/pre-commit.yml) [](https://coveralls.io/github/beaufour/boonli_api?branch=main) [](https://badge.fury.io/py/boonli_api)
This API allows you to retrieve the menus that were chosen on [Boonli](https://boonli.com).
## Usage
To get the menu information run:
> boonli_api/api.py -c -u -p
Where `customer_id` is the first part of the domain name where you login, like `my_school` in `https://myschool.boonli.com`.
To enable a lot of debug logging you can add `-v`.
## Web API
I have also created an API that can be deployed on Google Cloud Function that returns the menus as an iCalendar here:
## Notes
Boonli does not have an official API, so I reverse engineered it. It involves parsing two web pages which is always fragile. So it will probably break at some point.