Israeli Rail unofficial API
Project description
Israel Rail API
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
israel-rail-api-0.1.tar.gz
(13.9 kB
view hashes)
Built Distribution
Close
Hashes for israel_rail_api-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb000d0790068653a862b5f67d6274925c11414d35ff8892acd1871de9cf041d |
|
MD5 | 32f389dd2b04b2eef76c4932d5146739 |
|
BLAKE2b-256 | 1d7da53419f05c90e99678664c9662320dd0a4dbd23f8ae1abc974a8871d386e |