Version 2025.3.0
Release Notes
Version 2025.3.0 Released on 30/04/2025 for all modes.
This release introduced a new get_live method.
Check out the source code for this release.
Code Changes:
-
New features
- Implemented
get_livefor all modes.- This provides you with a live departure board for a requested location.
- Implemented
-
Code Enhancements
get_livehas been implemented.- Details such as the platform number, departure time, expected departure and destination are shown.
- If no departures are found, a "check timetable for services" screen is shown.
- If there is only one calling point after the requested station, the board will show "only" after the destination.
- For example, at Huntingdon a service to Peterborough would say:
Calling at: Peterborough only.
- For example, at Huntingdon a service to Peterborough would say:
- Information shown has been altered slightly.
- Text formatting colours have been updated.
- "Cancelled" is written in red.
- "On time" is written in green.
- All other variations (early and delayed) are written in yellow.
- The board heading is written in blue.
- The board is now written in white.
- The board will show the next 3 departures at the station.
-
Error Handling
- Minor preparation for new error handling has started.
-
Performance Improvements
- Code removals.
- Redundant code has been removed.
- Removed a lot of duplicated code.
- Removed many unneeded loops.
- Removed many unneeded variables.
- Code removals.
-
Refactoring
- Added new comments.
- Removed some older comments.
- Some older comments have been updated.
- Some variables have been renamed.
- Updated file directory.
- Updated in-code documentation.
- Updated some errors.
Wiki Changes:
- Added new documentation
get_live. - Added new examples for
get_live. - Updated
rowsdocumentation forget_station.
Other Changes:
- Added information for
get_livein the README file. - Added new example code for
get_live.- You can find these here.
Bugs
Fixes:
- Fixed a crash when the API returned an error in
get_live. - Fixed a TypeError causing a crash in
get_arrivals. - Fixed destination showing at the start of the calling points in
get_live.
Awaiting Allocation:
- None
What's Changed
- Version 2025.3.0 [BETA 3] Pull Request by @anonymous44401 in #15
- Version 2025.3.0 [BETA 2] Pull Request by @anonymous44401 in #14
- Version 2025.3.0 [BETA 1] Pull Request by @anonymous44401 in #13
Full Changelog: v2025.2.2...v2025.3.0