SRT icon indicating copy to clipboard operation
SRT copied to clipboard

SRT(Super Rapid Train: https://etk.srail.kr/) wrapper for python

Results 9 SRT issues
Sort by recently updated
recently updated
newest added

- use pydantic?

enhancement

- [textual](https://github.com/Textualize/textual) 로 재작성하면 좋을 듯?

enhancement

Hi there! Since I wanted to find a way to buy sold-out trains, I made an app that can reserve tickets by querying the API until they are available and...

updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.5.0) - [github.com/psf/black: 24.3.0 → 24.4.2](https://github.com/psf/black/compare/24.3.0...24.4.2) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.1) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0)

``` File "/test.py", line 37, in reserve_train res = srt.reserve(train, special_seat=SeatType.GENERAL_FIRST) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/SRT/srt.py", line 274, in reserve return self._reserve( ^^^^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/SRT/srt.py", line 416, in _reserve parser = SRTResponseData(r.text)...

안녕하세요? 유용한 기능 잘 사용하고 있습니다. 코드를 한번 보긴했는데, 잘 몰라 문의드립니다. 좌석 선택 기능은 없는 것인지요? 없다면 추가할 계획은 있으신가요? 정기적으로 주2회씩 SRT를 이용하다 보니 미리 원하는 좌석으로 예매할때...

updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.14.10) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.4.2 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/24.4.2...25.12.0) - [github.com/pre-commit/mirrors-mypy: v1.10.1 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.1...v1.19.1) - [github.com/shellcheck-py/shellcheck-py: v0.10.0.1 → v0.11.0.1](https://github.com/shellcheck-py/shellcheck-py/compare/v0.10.0.1...v0.11.0.1)...

Passenger 중 Senior 사용 시 "입력값 오류" Error 발생합니다. SRTResponseError(parser.message()) SRT.errors.SRTResponseError: 입력값 오류