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.6, 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
:
python schedule.py "tel aviv hahagana" "ben gurion airport" 2018-12-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.0.4.tar.gz
(12.6 kB
view details)
Built Distribution
File details
Details for the file israel-rail-api-0.0.4.tar.gz
.
File metadata
- Download URL: israel-rail-api-0.0.4.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.12.5 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8352a492490709e13ef478b201795789fad10af87d2d4a909528efedb1e3f1d0 |
|
MD5 | 588f1a6be1032e1ca061c13b1f03b237 |
|
BLAKE2b-256 | 528ee436921814d9a54bd68bb2e1817c31a5a57896e8c51669122cc34a00d48d |
File details
Details for the file israel_rail_api-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: israel_rail_api-0.0.4-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2598a88b3ab874526c689659d67c79fc3ff452639da029e59dd6ef0865d1c88 |
|
MD5 | 6ea2744c5c3b2ef67bebab72d1548bea |
|
BLAKE2b-256 | 7997abf65c53779d4feb48bc343a2784a37469c1948044967352b6142783bfae |