pyOwlBoard/README.md

27 lines
787 B
Markdown
Raw Permalink Normal View History

2024-10-28 21:37:33 +00:00
# pyOwlBoard
## The Python client for the OwlBoard API
2024-10-31 21:10:30 +00:00
This client was written as part of 'dgp2'. As it stands, only the features required for dgp2 and few others are implemented.
2024-11-02 21:23:36 +00:00
# Endpoints
The following API features are available:
- get_stops_by_pis
- get_pis_by_start_end_crs
- get_trains_by_headcode
- get_trains_by_trainUid
- get_loc_ref_codes_by_tiploc
No other features are currently exposed. In the meantime, consider OwlBoardTS which is a fully featured API Client for use with TypeScript.
# Installing
2024-10-31 21:10:30 +00:00
The package can be installed with `pip`:
From my Gitea server:
`pip install --index-url https://git.fjla.uk/api/packages/OwlBoard/pypi/simple/ pyOwlBoard`
From PyPI:
`pip install pyOwlBoard`
The packages are kept in sync between the two package repositories.