Published Events

GET https://api.e-guma.ch/v1/ticketing/published_events.json?apikey={api-key}

Parameters

api-key
required
category_idTo filter the events of a certain category

Return

idID of the event
nameName of the event in all available languages
description_htmlDescription HTML in all available languages
bookableIf the online sales are not closed and the event is not sold out this value is true
count_available_ticketsNumber of available tickets
startStart date of the event (ISO 8601 format)
image_urlImage URL of the event.

Here is how to display this image correctly on a web page.

The image is optimized for a 6:5 ratio and has a resolution of at least 600 x 500px.
urlURL of the event in all available languages
organizer- name: Name of the organizer- url: Url of the organizer
venue- name: Name of the venue

- street: Street of the venue

- zip: Zip of the venue

- city: City of the venue- country_code: Country Code of the Venue
ticket_typesA list of the published ticket types with the following fields:

- id
- name (in all available languages)
- description (in all available languages)
- price_in_cents
ticket_type_groupsTicket types can optionally be divided into groups. If this is set, an item with the name of the group and IDs of the ticket types is returned for each group.

- name (in all available languages)
- ticket_type_ids (array of strings)
category_idIf an event is assigned to a category, the ID of the category is returned, otherwise this value is empty ("").
updated_at- Date the event was last updated (ISO 8601 format).

Example

GET https://api.e-guma.ch/v1/ticketing/published_events.json?apikey=510e32c594d84816a4af9df1
[
  {
        "id": "5c5c0aa7bfede1072441d4cd",
        "name": {
            "de": "Magischer Brunch",
            "en": "Magical Brunch",
            "fr": "Brunch magique"
        },
        "description_html": {
            "de": "<strong>Magischer Brunch im Beethoven Palace</strong><br><strong><br></strong>Erleben Sie einen Brunch der Extraklasse! Zu unseren Spezialitäten aus dem Züribiet und den umliegenden Kantonen verzaubern wir Sie mit einer magischen Show der Extraklasse. Der Schweizer Meister in Magie, Christian Bischof, wird Sie mit seiner Kunst faszinieren und Ihnen einen unvergesslichen Sonntag voller Köstlichkeiten und Staunen bereiten!<br><br><a href=\"https://shop.e-guma.ch/demo/de/gutscheine/15007/brunch\" target=\"_blank\">Brunch als Gutschein schenken</a><br>",
            "en": "Magical Brunch at Beethoven Palace<br><br>Enjoy a brunch of the extra class! To our specialties from the Züribiet and the surrounding cantons we enchant you with a magical show of the extra class. The Swiss master in magic, Christian Bischof, will fascinate you with his art and prepare you an unforgettable Sunday full of delicacies and wonder!<br>",
            "fr": "Brunch magique au Beethoven Palace<br><br>Une expérience brunch de niveau et classe ! Nos spécialités de la région de Zurich et les cantons environnants vous enchantent avec un spectacle de magie extraordinaire. Le maître suisse dans la magie, Christian Bischof vous enchantera par son art et préparera un dimanche inoubliable plein de délices et admiration !<br>"
        },
        "bookable": true,
        "count_available_tickets": 11,
        "start": "2019-03-14T10:00:00",
        "image_url": "https://eguma-live.imgix.net/2/events/0d6a3e13135344bcb8f7788374be311a.jpg",
        "url": {
            "de": "https://shop.e-guma.ch/demo/de/events/magischer-brunch-2492720",
            "en": "https://shop.e-guma.ch/demo/de/events/magical-brunch-2492720",
            "fr": "https://shop.e-guma.ch/demo/de/events/brunch-magique-2492720"
        },
        "organizer": {
            "name": "Beethoven Palace",
            "url": "www.e-guma.ch"
        },
        "venue": {
            "name": "Zürich",
            "street": "Walchestrasse 15",
            "zip": "8006",
            "city": "Zürich",
            "country_code": "CH"
        },
        "ticket_types": [{
            "id": "2de3a079-3d2b-4de2-90bb-10e4e1f985d6",
            "name": {
              "de": "Normalpreis",
              "en": "Regular price",
              "fr": "Prix normal"
            },
            "description": {
              "de": "Für Erwachsene",
              "en": "For Adults",
              "fr": "Pour les adultes"
            },
            "price_in_cents": 5000
          }
        ],
        "ticket_type_groups": [],
        "category_id": "60be23b594f2814b288193f4",
        "updated_at": "2023-01-27T13:37:14",
    }
]