Skip to main content

Israeli Rail unofficial API

Project description

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.8-3.13.

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.4.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

israel_rail_api-0.1.4-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file israel_rail_api-0.1.4.tar.gz.

File metadata

  • Download URL: israel_rail_api-0.1.4.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for israel_rail_api-0.1.4.tar.gz
Algorithm Hash digest
SHA256 af18682ee41f2e0e00a1362d8382b0680faf81278004bb321c96478f0629b532
MD5 2b6bc900bcb41c9c99edb57515a6685c
BLAKE2b-256 237cf210f5e5f1036c75d54e913dc83780c0174088c0d4266cf3eb3a372fa44a

See more details on using hashes here.

Provenance

The following attestation bundles were made for israel_rail_api-0.1.4.tar.gz:

Publisher: release.yml on sh0oki/israel-rail-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file israel_rail_api-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for israel_rail_api-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dc291b31e1e85219440fe36942f718f49f3d233ad44ff19e5749044fccc09683
MD5 90add855616fe792e1085497cfc70ce4
BLAKE2b-256 36ab4d18111872bf67039154ce43ef21a1350b88e4587555a797d8e310bd5b65

See more details on using hashes here.

Provenance

The following attestation bundles were made for israel_rail_api-0.1.4-py3-none-any.whl:

Publisher: release.yml on sh0oki/israel-rail-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page