Skip to main content

A python library to interact with hidden public and private APIs of Eventim.

Project description

Pyventim

Quality Gates PyPI Version PyPI Downloads License

A Python library for accessing Eventim ticket and event data across multiple markets.

Manifesto

Eventim does not provide a public API like Ticketmaster and other platforms do. This library is an effort to make Eventim data open for public usage by wrapping its hidden public endpoints and falling back to HTML scraping where necessary.

If Eventim publishes official public endpoints, this library will migrate to use them. In the meantime, users are advised to use this library responsibly and to respect Eventim's robots.txt and fair-use expectations.

Due to the nature of web scraping, this library may break without notice. Please open an issue if something stops working.

Installation

Pyventim supports the two most recent stable Python releases, following the Python downloads page. Currently Python 3.13 and 3.14 are supported.

Using pip

pip install pyventim
patchright install chromium

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

Using uv

uv add pyventim
uv run patchright install chromium

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

Usage

For detailed information and usage refer to the latest documentation!

Getting started

EventimClient supports markets across Europe, Brazil, and Israel. Pass an EventimMarket enum member to select one. See the Markets page in the documentation for the full list.

from pyventim import EventimCategory, EventimClient, EventimMarket

# Initialise a client for Germany
de_client = EventimClient(EventimMarket.GERMANY)

# Search for concerts — product_groups() returns an iterator of events
for product_group in de_client.product_groups(categories=[EventimCategory.CONCERTS], page_limit=2):
    print(product_group.name, product_group.start_date)

    # Fetch individual event dates (tickets, pricing, availability)
    for event in de_client.products(product_group.product_group_id, page_limit=1):
        print("  ", event.name, event.start_date)

# Switch to another market — same API, different catalogue
se_client = EventimClient(EventimMarket.SWEDEN)

for product_group in se_client.product_groups(categories=[EventimCategory.CONCERTS], page_limit=1):
    print(product_group.name)

All methods return typed iterators backed by Pydantic v2 models. Responses are automatically paginated — use page_limit to cap the number of pages fetched.

Contributing

See CONTRIBUTION.md for the full development guide and CODE_OF_CONDUCT.md on how we work together.

Bug reports and feature requests

Open an issue on Codeberg. Templates are provided for bug reports and feature requests.

Development quickstart

Fork the repository on Codeberg, clone your fork, then install all dev dependencies:

uv sync --dev

Then run the quality checks:

# Run tests with coverage
uv run coverage run -m pytest

# Coverage report (must pass 90%)
uv run coverage report -m

# Docstring coverage (must pass 100%)
uv run interrogate -c pyproject.toml src

# Lint and format
uv run ruff check src tests
uv run ruff format src tests

License

This project is licensed under the GPL-3.0. See LICENSE.md for details.

Maintainers

Acknowledgements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyventim-1.0.0rc1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyventim-1.0.0rc1-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file pyventim-1.0.0rc1.tar.gz.

File metadata

  • Download URL: pyventim-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyventim-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 673c752c85c79e2f87418a8f3cceae14ff0888382e428a901cc60d740e3d92f8
MD5 c9a7299bd91c3cbde8a2e439a89f5d74
BLAKE2b-256 226a534ca53612f02df58fb55747dd2316923f8cc768be5c2801711ee316c9e1

See more details on using hashes here.

File details

Details for the file pyventim-1.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: pyventim-1.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyventim-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cdddfb474c8580b6890c6b40c4d81efdabd6578fd78eec4b1ecb8cb7f2c267f
MD5 f9df8e7f8e41922d80be60f4b54d05d4
BLAKE2b-256 f3a031180e3cb334c5f4768cfd5cf6eff4464d6139fdb9b261083ca3e9fa1c7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page