https://github.com/ash2shukla/railin
Unofficial API for Indian Railways.
https://github.com/ash2shukla/railin
api indian-railways python railways-enquiry
Last synced: 21 days ago
JSON representation
Unofficial API for Indian Railways.
- Host: GitHub
- URL: https://github.com/ash2shukla/railin
- Owner: ash2shukla
- License: mit
- Created: 2017-07-16T00:49:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T21:33:27.000Z (almost 2 years ago)
- Last Synced: 2025-04-15T15:02:56.147Z (about 1 month ago)
- Topics: api, indian-railways, python, railways-enquiry
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# RailIN
This API scrapes data of Indian Railways and parses into JSON for use in personal applications.
Strictly Not intended for commercial use.
1. Get Route
2. Get Availability
3. Get Fare
4. Get Train Status
5. Get TrainInfo
6. Get PNR StatusExample Usage:
`from RailIN import RailIN
ri = RailIN()
ri.getPNR('1234567890')`
Output is in JSON format load using json package.All Responses are subjected to Server's state.
I strictly do not claim any right over the data. And by no means promote usage of it for commercial applications.
Data and it's rights reserved to respective owners.