Simple package to obtain and parse train schedules from RENFE
Project description
Renfe Train Time
renfe-time scrapes and parses train schedules for RENFE trains in Spain. At the moment, only Asturias is supported
Usage
from RenfeTrainTime 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
RenfeTrainTime-0.3.1.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for RenfeTrainTime-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51bba2940dce78aa0fd3580268ed172310cd59e0dc885fa0d712613b5ecfe96c |
|
MD5 | e1c2b81f4ab7e9a924a68d117418dbff |
|
BLAKE2b-256 | b65372fa83339b9f83bb0cc2f2db244cdf09f2209eaa6cb103a97196bcb37848 |