An open API service indexing awesome lists of open source software.

https://github.com/tekofx/renfepy

🚂 Train search CLI program and library written in Python
https://github.com/tekofx/renfepy

crawl python

Last synced: 6 months ago
JSON representation

🚂 Train search CLI program and library written in Python

Awesome Lists containing this project

README

          

Renfepy


Python library to search for trains on renfe.es

# Installation

`pip3 install renfepy`

If chromium is not installed Renfepy will install a it. In case of error it is recommended to install it.

# Usage

```py
from renfepy.renfe import RenfePy

renfepy = RenfePy(gui=False)
going_trains = renfepy.search("Madrid", "Barcelona", "04/02/2023")
going_trains.table()
```