Simple package to obtain and parse train schedules from RENFE
Project description
Renfe Time
renfe-time scrapes and parses train schedules for RENFE trains in Spain. At the moment, only Asturias is supported
Usage
from renfe_time import RenfeTime as rt
from datetime import datetime
import pprint
table = rt.getTimeTable(
rt.getStationCode( "Gijón" ),
rt.getStationCode( "Oviedo" ),
datetime.now(), "00", "26", False
)
pprint.pprint( table, indent = 4 )
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
renfe_time-0.1.0.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for renfe_time-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8ebd209f31d0d7c0907f0636535287e2d1fad76f15083e7396c262cf4c14150 |
|
MD5 | 57ad90b756ba30c3965b79a03ef28bdd |
|
BLAKE2b-256 | 19d0e0ea42bb8355ce5925cf62a7820d802bd40678fc5ddc54318a218df798b0 |