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 RenfeTime 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
RenfeTime-0.1.0.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for RenfeTime-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f866b626b9e9170610a09afd2f2f28276711b0ee6d3317ddc4898ab16cd37d43 |
|
MD5 | 83286c286261a894af8f843743e4dd16 |
|
BLAKE2b-256 | d80929c0804aac8d4b311c497261c9a0b643a2f4c16fb7838d5394bc55c8017b |