Metadata-Version: 2.4
Name: pyticketswitch
Version: 3.0.0
Summary: A Python interface for the Ingresso F13 API
Author-email: Ingresso <systems@ingresso.co.uk>
License-Expression: MIT
Project-URL: Homepage, https://github.com/ingresso-group/pyticketswitch/
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31
Requires-Dist: python-dateutil>=2.8.2
Dynamic: license-file

Pyticketswitch
==============


[![Build Status](https://travis-ci.org/ingresso-group/pyticketswitch.svg?branch=master)](https://travis-ci.org/ingresso-group/pyticketswitch)
[![codecov](https://codecov.io/gh/ingresso-group/pyticketswitch/branch/master/graph/badge.svg)](https://codecov.io/gh/ingresso-group/pyticketswitch)
[![PyPI](https://img.shields.io/pypi/v/pyticketswitch.svg)](https://pypi.python.org/pypi/pyticketswitch)
[![PyPI](https://img.shields.io/pypi/pyversions/pyticketswitch.svg)](https://pypi.python.org/pypi/pyticketswitch)


Python wrapper for the ticketswitch [f13 API](https://docs.ingresso.co.uk/).

**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
----------

- Issue Tracker: https://github.com/ingresso-group/pyticketswitch/issues
- Source Code: https://github.com/ingresso-group/pyticketswitch

### 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 ###

Set up a virtualenv and run everything with make:

```
make init
make test
```

Or manually:

```
pip install -r requirements/test.txt
ruff check pyticketswitch tests
ruff format --check pyticketswitch tests
pyright
pytest
behave
```

[Behave](http://pythonhosted.org/behave/) tests require 
[PyVCR](https://github.com/kevin1024/vcrpy). 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.
