Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s4tyendra/multifeatures
https://github.com/s4tyendra/multifeatures
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/s4tyendra/multifeatures
- Owner: S4tyendra
- License: mit
- Created: 2023-12-25T05:49:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-29T06:43:38.000Z (5 months ago)
- Last Synced: 2025-01-05T22:16:21.721Z (10 days ago)
- Language: Python
- Size: 220 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Install
```sh
pip install -U multifeatures
```## Documentation
- Documenttation available here: [https://multifeatures.devh.in/](https://multifeatures.devh.in/)## Example Usage
```py
from MultiFeatures.IndianRailway import confirmtkt
confirmtkt_object = confirmtkt.Confirmtkt()
try:
live_status_data = confirmtkt_object.live_train_status(train_no="12345", doj="01-01-2023", locale="en")
print(live_status_data)
except NotAValidTrainNumber as error:
print(f"Error: {error}")
except InternetUnreachable:
print("Error: Connectivity issue. Please check your internet connection.")
except HTTPErr:
print("Error: ran into an issue. Please try again later, or Check the data.")
```