Skip to content

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

pip install pyventim
patchright install chromium

# If needed also install system dependencies
patchright install --with-deps chromium
uv add pyventim
uv run patchright install chromium

# If needed also install system dependencies
uv run patchright install --with-deps chromium

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.

Your first query

  • How-to guides — Solve a specific task quickly.

Browse guides

  • Reference — Full API documentation for every class and method.

View reference

  • Explanation — Understand how and why pyventim works the way it does.

Read more