Skip to content

ingresso-group/pyticketswitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2b2afc0 · Jan 4, 2024
May 23, 2022
Apr 25, 2023
Mar 15, 2023
Apr 25, 2023
May 23, 2022
Feb 28, 2019
Feb 16, 2023
May 23, 2022
Apr 18, 2023
Feb 28, 2019
Aug 23, 2017
Apr 27, 2018
Apr 25, 2023
May 5, 2017
May 23, 2022
Oct 12, 2017
May 5, 2017
Jun 13, 2016
May 23, 2022
Apr 25, 2023
Feb 28, 2018

Repository files navigation

Pyticketswitch

Build Status codecov PyPI PyPI

Python wrapper for the ticketswitch f13 API.

Docs: https://pyticketswitch.ingresso.co.uk F13 API Documentation: https://docs.ingresso.co.uk/

Features

  • Search for events and performances.
  • Availability details for performances.
  • Make live reservations.
  • Purchase tickets.

Installation

Install pyticketswitch by running:

pip install pyticketswitch

Contribute

How to contribute

  1. Check for open/closed issues.
  2. Open a new issue describing the bug/feature.
  3. Fork the repository
  4. Bug fixes should have a unit test that ensures that the bug is never reintroduced. New features should have an acceptance test. All tests (both new and old) should be passing
  5. Send us a pull request.

Running tests

Tests can be run with tox:

pip install tox
tox

Or manually:

pip install -r requirements/test.txt
flake8 pyticketswitch
py.test
behave

Or via make

make test

Behave tests require PyVCR. There are intentionally no cassettes shipped with the repo (to avoid an echo chamber), so the first run might be slow, but subsequent runs will be faster. Be mindful of this fake though.

License

Copyright (c) 2017 Ingresso Group

Licensed under the The MIT License.