Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

israel-rail-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

israel-rail-api

Israeli Rail unofficial API

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

Israel Rail API

image image Build Status

This is a unofficial wrapping of the API of Israeli Rail network in Python.

Use this script for checking your own train schedule, integrating with Alexa, and so on!

Installing

Tested with Python 3.11, should probably work fine with other versions too.

pip install israel-rail-api

Usage

import israelrailapi
s = israelrailapi.TrainSchedule()
print(s.query('Tel Aviv University', 'Jerusalem Yitzhak Navon'))

A simple test, to make sure the script is working is included in schedule.py:

python3 schedule.py "tel aviv hahagana" "ben gurion airport" 2023-06-24 0900 

Contributing

We'd love your contributions! Fire up a (tested!) Pull request, and we'll be happy to approve it.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc