Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for renfe-time, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size renfe_time-0.1.0-py3-none-any.whl (2.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size renfe_time-0.1.0.tar.gz (1.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page