-
Notifications
You must be signed in to change notification settings - Fork 3
Release Notes
Introduced new
get_livemethod. Released xx/05/2025
Updated display order of information in
get_station. Released 03/03/2025
Fixed a bug causing departures and arrivals to duplicate in
get_station. Released 18/02/2025
Introduced new
get_stationmethod. Released 01/02/2025
Introduced realtime-trains-py. Released 02/01/2025
Version 2025.3.0 Expected release: May 2025
This release introduced a new get_live method.
Check out the source code for this release.
-
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.
- 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.
- Added new documentation
get_live. - Added new examples for
get_live. - Updated
rowsdocumentation forget_station.
- Added information for
get_livein the README file. - Added new example code for
get_live.- You can find these here.
- Fixed a TypeError causing a crash in 'get_arrivals'.
- None
- Version 2025.3.0 [BETA 3] Pull Request by @anonymous44401 in https://github.com/realtime-trains-lang/realtime-trains-py/pull/15
- Version 2025.3.0 [BETA 2] Pull Request by @anonymous44401 in https://github.com/realtime-trains-lang/realtime-trains-py/pull/14
- Version 2025.3.0 [BETA 1] Pull Request by @anonymous44401 in https://github.com/realtime-trains-lang/realtime-trains-py/pull/13
Full Changelog: https://github.com/realtime-trains-lang/realtime-trains-py/compare/v2025.2.0...v2025.3.0
Version 2025.2.2 (Launched on 03/03/2025 for all modes).
This release updated the display order of information in the get_station method.
Check out the source code for this release.
- Refactoring
- Added new display order for
get_station. - Removed some redundant code.
- Added new display order for
- None
- None
- None
-
Bug #10 - Low Efficiency for
get_station-- Low priority
Full Changelog: https://github.com/realtime-trains-lang/realtime-trains-py/compare/v2025.2.1...v2025.2.2
None
Version 2025.2.1 (Launched on 18/02/2025 for all modes).
This release fixed a bug causing departures and arrivals to duplicate on some boards in the get_station method.
Check out the source code for this release.
-
Performance Improvements
- Gathering data using
get_stationand providing arowsvalue
- Gathering data using
-
Refactoring
- Added new comments.
- Some older comments have been updated.
- Updated in-code documentation.
- None
- None
- Fixed a bug causing departures and arrivals to duplicate on some boards (#12).
-
Bug #10 - Low Efficiency for
get_station-- Low priority
Full Changelog: https://github.com/realtime-trains-lang/realtime-trains-py/compare/v2025.2.0...v2025.2.1
None
Version 2025.2.0 (Launched on 01/02/2025 for all modes).
This release introduced a new get_station method which returns a combined departure + arrival board.
Check out the source code for this release.
Warning
This release features a breaking change. See the Refactoring section in the release notes.
-
New features
- Added an API connection tester.
- Checks your username and password before you send API requests.
- Implemented
get_stationfor all modes.- This provides you with a combined departure and arrival board.
- New status and error formats.
- Added an API connection tester.
-
Code Enhancements
- A full, ordered station board can now be returned.
- Added merge_sort for
get_station.
- Added merge_sort for
- Added new simple + advanced classes for
get_service. - Implementation of
get_stationfor advanced, simple & complex modes.
- A full, ordered station board can now be returned.
-
Error Handling
- All errors now provide status codes.
- Errors are now more specific to the actual error.
- Example:
400: Complexity not recognised. Select a valid type.
- Example:
- Errors can be found in the errors page.
- Status information has a new format
- Example:
200: Service data returned successfully.
- Example:
-
Performance Improvements
- Code removals.
- Redundant code has been removed.
- Enhanced efficiency across multiple areas.
- Added clearing in some methods for removing data that is no longer needed.
- Added new classes for data handling.
- Removed some unneeded loops.
- Removed some unneeded variables.
- Code removals.
-
Refactoring
- Added new comments.
- Moved empty objects to a
details.pyfile. - Some classes have been renamed.
- Some attributes inside classes have been renamed.
-
Breaking Change:
all_calling_pointsis now justcalling points.
-
Breaking Change:
- Some attributes inside classes have been renamed.
- Some files have been renamed.
- Some functions have been renamed.
- Some older comments have been updated.
- Some variables have been renamed.
- Updated file directory.
- Updated in-code documentation.
- Added a footer to the wiki.
- Added an errors page to the wiki.
- Added extra details to methods in various files.
- Added more data extraction documentation.
- Added new code examples.
- All pages have received minor and major changes.
- Corrected various spelling and grammar mistakes.
- Updated error formatting.
- Updated old code examples.
- Updated release notes for Version 2025.2.0.
- Updated sidebar links.
- Updated terminology to reflect the new update.
- Updated the setup guides.
- Added new example code for simple and complex modes.
- You can find these here
- Release notes now have a new format.
- You can see it here.
- Updated the README file.
- Corrected spelling.
- Updated code examples.
- Updated the supported versions in the security policy.
- V1.x.xbx has been removed from the supported list.
- V2025.x.xbx has been added to the supported list.
- Fixed a bug causing imports to fail.
- Fixed a bug causing no data to be returned when providing only a time and TIPLOC in
get_station,get_arrivalsandget_departures. - Fixed a bug causing times in
get_stationto order incorrectly.- 00:xx times will always show at the top of the board regardless.
- Fixed a bug causing times to validate incorrectly.
- Fixed some code formatting bugs.
-
Bug #10 - Low Efficiency for
get_station-- Low priority
- Version 2025.2.0 [BETA 3] Pull Request by @anonymous44401 in https://github.com/realtime-trains-lang/realtime-trains-py/pull/11
- Version 2025.2.0 [BETA 2] Pull Request by @anonymous44401 in https://github.com/realtime-trains-lang/realtime-trains-py/pull/9
- Version 2025.2.0 [BETA 1] Pull Request by @anonymous44401 in https://github.com/realtime-trains-lang/realtime-trains-py/pull/8
Full Changelog: https://github.com/realtime-trains-lang/realtime-trains-py/compare/v2025.1.0...v2025.2.0
Version 2025.1.0 (Launched on 02/01/2025 for all modes).
This release introduced realtime-trains-py for the first time.
Check out the source code for this release.
-
New features
- Implemented
get_departuresfor all modes.- This provides you with a departure board.
- Implemented
get_arrivalsfor all modes.- This provides you with an arrival board.
- Implemented
get_servicefor all modes.- This provides you with service information.
- Implemented
-
Code Enhancements
- None
-
Error Handling
- None
-
Performance Improvements
- None
-
Refactoring
- Added comments.
- Added in-code documentation.
- Added new pages.
- Added example code for some modes.
- Added the license file.
- Added the README file.
- Added the security policy.
- None
- None
All of our data is kindly provided by Realtime Trains.