trainline-python icon indicating copy to clipboard operation
trainline-python copied to clipboard

Non-official Python wrapper and CLI tool for Trainline

Results 5 trainline-python issues
Sort by recently updated
recently updated
newest added

trainline version: 0.1.0 Python version: 3.7 Operating System: macOS Description All requests return the same error: requests.exceptions.ConnectionError: Status code 400 for url https://www.trainline.eu/api/v5_1/search {"error":{"code":"no_results","message":{}}} Basically the same issue as [last...

A little suggestion to specify a start date (instead of now). Too, in python, code is clear enough not to comment every lines. ``` ヽ(´ー`)┌ ``` ```patch --- trainline_cli.py 2021-02-17...

### What I Did When executing a search for a SNCF connection with a young card, the Trainline server now returns: {"errors":{"passengers":["La carte Carte Avantage Jeune n’est pas valide :...

I didn't find how to ask for a specific comfort class or to get this info in the results. Is it possible ? If it isn't possible, it would be...

* trainline version: 0.1.2 * Python version: Python 3.7.12 * Operating System: Ubuntu 22.04 ### Description import trainline results = trainline.search( departure_station="Toulouse", arrival_station="Bordeaux", from_date="15/05/2023 08:00", to_date="15/05/2023 21:00") print(results.csv()) ### What...