Metadata-Version: 2.4
Name: polish-lottery
Version: 1.0.0
Summary: Fast, real-time client for Polish lottery draw results (Lotto, Mini Lotto, Multi Multi, Kaskada, Eurojackpot).
Author-email: Lotto-Wyniki <contact@lotto-wyniki.com>
Project-URL: Homepage, https://lotto-wyniki.com
Project-URL: Lotto Results, https://lotto-wyniki.com/lotto.html
Project-URL: Eurojackpot Results, https://lotto-wyniki.com/eurojackpot.html
Project-URL: Statistics, https://lotto-wyniki.com/lotto-statystyki.html
Project-URL: Checker, https://lotto-wyniki.com/sprawdz-swoje-liczby.html
Keywords: lotto,lottery,poland,polish-lottery,eurojackpot,mini-lotto,multi-multi,kaskada
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.25.0

# polish-lottery

[![PyPI version](https://img.shields.io/pypi/v/polish-lottery.svg)](https://pypi.org/project/polish-lottery/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

Fast, lightweight Python client for Polish lottery draw results provided by [Lotto-Wyniki.com](https://lotto-wyniki.com).

Covers all 5 major games in Poland:
- **Lotto 6/49** (winning numbers, draw number, date, archive)
- **Mini Lotto 5/42**
- **Multi Multi 20/80**
- **Kaskada 12/24**
- **Eurojackpot 5+2** (with Eurostars)

---

## Installation

```bash
pip install polish-lottery
```

---

## Usage

```python
from polish_lottery import get_all_results, get_game, get_history

# 1. Fetch all latest results
data = get_all_results()
print("Last updated:", data["lastUpdated"])
print("Lotto numbers:", data["lotto"]["numbers"])

# 2. Fetch a specific game
euro = get_game("eurojackpot")
print("Eurojackpot main numbers:", euro["numbers"])
print("Eurostars:", euro["stars"])

# 3. Fetch past draw history
history = get_history("lotto")
print(f"Retrieved {len(history)} past draws.")
```

---

## Official Data & Statistics Website

For live interactive checks, number frequency statistics, and guides, visit:
👉 **[https://lotto-wyniki.com](https://lotto-wyniki.com)**

- [Wyniki Lotto 6/49](https://lotto-wyniki.com/lotto.html)
- [Statystyki Lotto](https://lotto-wyniki.com/lotto-statystyki.html)
- [Wyniki Eurojackpot](https://lotto-wyniki.com/eurojackpot.html)
- [Wyniki Mini Lotto](https://lotto-wyniki.com/mini-lotto.html)
- [Wyniki Multi Multi](https://lotto-wyniki.com/multi-multi.html)
- [Wyniki Kaskada](https://lotto-wyniki.com/kaskada.html)
- [Sprawdź Swoje Liczby](https://lotto-wyniki.com/sprawdz-swoje-liczby.html)

---

## License

MIT © [Lotto-Wyniki.com](https://lotto-wyniki.com)
