pyventim¶
A Python library for accessing Eventim ticket and event data across multiple markets.
Eventim does not provide a public API. pyventim wraps its hidden public endpoints and falls back to HTML scraping where necessary, giving you typed, paginated access to events, attractions, venues, and ticket availability.
Stability
Due to the nature of web scraping, this library may break without notice if Eventim changes its internal API or HTML structure. Open an issue if something stops working.
Installation¶
Quick start¶
```python
from pyventim import EventimClient, EventimMarket, EventimCategory
client = EventimClient(EventimMarket.GERMANY)
for product_group in client.product_groups(categories=[EventimCategory.CONCERTS], page_limit=2):
print(product_group.name, product_group.start_date)
for event in client.products(product_group.product_group_id, page_limit=1):
print(" ", event.name, event.start_date)
```
Where to go next¶
- Tutorials — New to pyventim? Start here for step-by-step walkthroughs.
- How-to guides — Solve a specific task quickly.
- Reference — Full API documentation for every class and method.
- Explanation — Understand how and why pyventim works the way it does.