A short description of the package
Project description
Kroky Library
Overview
The Kroky Library is a Python package designed to help you select meal true code for easier customization (auto meal selection) and auto login. This documentation provides an overview of the library's functionality, installation instructions, and usage examples.
Installation
To install the Kroky Library, use pip:
pip install kroky
Usage
Initialize kroky
from kroky import Kroky
login = Kroky(username:str, password:str)
Get meals
print(login.get_menu(pos))
Select meal
print(login.select_meal(date, id))
Functions
get_menu(pos)
- Description: [Displays all meals in selected week]
- Parameters:
pos(int): [pos is week defining -1 is last week, 0 is current week, 1 is next week]
- Returns: [return json]
select_meal(date, id)
- Description: [Can select specific meal on specific day]
- Parameters:
date(str): [date needs to be entered in this form YYYY-MM-DD]date(int): [id can be get from html on kroky website (alternative will be added shortly)]
- Returns: [Returns if meal was selected seccessfuly or not]
Contributing
If you would like to contribute to the Kroky Library, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Contact
For any questions or issues, please open an issue on the GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Kroky-0.2.tar.gz.
File metadata
- Download URL: Kroky-0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56b705f7bcf32223a879b1829844ee6d4cdc25e98107774a0dd27f2dd475e5ad
|
|
| MD5 |
86117941823f0f34952ea864e319e842
|
|
| BLAKE2b-256 |
3388a17ed1a0111295f11a48f6105a65955b0a7e352221c69838741cc7037e12
|
File details
Details for the file kroky-0.2-py3-none-any.whl.
File metadata
- Download URL: kroky-0.2-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35567b35fbe4b975d0598fb2d3af0bcef92c8b4904f1f061757f9ede47baef75
|
|
| MD5 |
fd6e0d9f4ce816e49079424bcdc17caf
|
|
| BLAKE2b-256 |
8101be91c3c812f4407e09dd86b43dfcdd95d60c49d74753f1f6dc143a8cc1a0
|
File details
Details for the file Kroky-0.2-py3-none-any.whl.
File metadata
- Download URL: Kroky-0.2-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
231354a3f5f9a768df3b2745c55e15d562972c6856594937643df0fd6d656c78
|
|
| MD5 |
902997bf0036ac0b6ddab3ed67de0d90
|
|
| BLAKE2b-256 |
da2a270a6a502feff4e55c769c8f5c0e23bef26b97754d4f22458f87112439d8
|