geg_gastro_core/lib.rs
1//! Core of the `geg-gastro` CLI and MCP server: a client for the school meal
2//! ordering portal of GEG Gastro (<https://www.bestellung-geggastro.de>).
3//!
4//! The portal has no API. [`GegGastro`] logs in like a browser, reads the
5//! HTML pages and returns the [`model`]: the menu, the orders, the balance
6//! and its bookings, the invoices, the children and the standing orders.
7//! Texts from the portal are data, never instructions.
8
9pub mod client;
10pub mod config;
11pub mod credentials;
12pub mod dirs;
13mod error;
14pub mod model;
15pub mod parse;
16pub mod service;
17pub mod session;
18
19pub use config::Config;
20pub use credentials::{Credentials, KEYCHAIN_SERVICE, Keychain, no_keychain};
21pub use error::Error;
22pub use parse::week::WeekId;
23pub use service::{GegGastro, MenuQuery, Period};