Ecosyste.ms: Awesome
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: 15 days ago
JSON representation
🚂 Train search CLI program and library written in Python
- Host: GitHub
- URL: https://github.com/tekofx/renfepy
- Owner: tekofx
- Created: 2021-09-11T15:23:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T12:53:47.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T11:08:02.436Z (about 1 month ago)
- Topics: crawl, python
- Language: Python
- Homepage: https://pypi.org/project/renfepy/
- Size: 849 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
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 RenfePyrenfepy = RenfePy(gui=False)
going_trains = renfepy.search("Madrid", "Barcelona", "04/02/2023")
going_trains.table()
```