tfl_api_client 1.0.0
tfl_api_client: ^1.0.0 copied to clipboard
A client for accessing the TfL API. Please note that Client for TfL API is unofficial and not endorsed by TfL.
Changelog #
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0 (2025-01-01) #
⚠ BREAKING CHANGES #
- Rename the get meta modes method in the
JourneyService
frommeta
tometaModes
to align with other services. - Rename the get predictions method in the
VehicleService
fromget
toarrivals
to align with other services. - Rename air quality model fields to camel case.
- Add namespace prefix to model names as per TfL API where applicable.
- Remove all the web cat models that are unused from the package.
- Remove all the stop point models that are unused from the package.
- Remove all the road models that are unused from the package.
- Remove all the place models that are unused from the package.
- Remove all the line models that are unused from the package.
- Remove all the journey models that are unused from the package.
- Remove all the fare models that are unused from the package.
- Remove all the etl models that are unused from the package.
- Remove all the common models that are unused from the package.
- Remove all the api health models that are unused from the package.
- Remove all the accident stats models that are unused from the package.
- Shorten method names in services to improve readability e.g. from
journeyResultsByPathFromPathToQueryViaQueryNationalSearchQueryDateQu
tojourneyResults
. - Convert positional parameters to named parameters to improve readability.
- Rename
ClientException
toTflApiClientException
to avoid naming conflicts and update the fields inTflApiClientException
. - Remove unnecessary numerical suffixes from model class names.
- Remove
listFromJson
andmapFromJson
methods from common models. - Remove
listFromJson
andmapFromJson
methods from vehicle models. - Remove
listFromJson
andmapFromJson
methods from stop point models. - Remove
listFromJson
andmapFromJson
methods from road models. - Remove
listFromJson
andmapFromJson
methods from place models. - Remove
listFromJson
andmapFromJson
methods from occupancy models. - Remove
listFromJson
andmapFromJson
methods from mode models. - Remove
listFromJson
andmapFromJson
methods from line models. - Remove
listFromJson
andmapFromJson
methods from journey models. - Remove
listFromJson
andmapFromJson
methods from air quality models. - Remove
listFromJson
andmapFromJson
methods from accident stats models. - Remove all the models that are unused from the package.
- Rename getters and services to align with TfL API documentation.
- Remove
TflApiClientContext
and useClient
directly in services.
Features #
- add cabwise feature (b49ba81)
- add cycle superhighway feature (52782ab)
- add network status feature (649099c)
Bug Fixes #
- cabwise service uri query parameters (3a355f8)
- cycle superhighway entity not found exception (4a2e1be)
Builds #
Chores #
Documentation #
Code Refactoring #
- add comparable implementations (3dd731b)
- add identifiable interface (ccf5d10)
- add journey elevation model (179fab3)
- add namespace prefix to model names (a1be005)
- add place geo point model (55b574a)
- align getters and services with tfl api (cecae41)
- folder by feature accident stats (0e5a5ca)
- folder by feature air quality (d6c7f73)
- folder by feature bike point (a8d0809)
- folder by feature common (5d12889)
- folder by feature journey (182c2b4)
- folder by feature line (af0fd03)
- folder by feature mode (656f396)
- folder by feature occupancy (57f8e1a)
- folder by feature place (8f0016e)
- folder by feature road (696597c)
- folder by feature search (c2047d1)
- folder by feature stop point (f642198)
- folder by feature vehicle (87ec13d)
- package exports to relative exports (837c110)
- package imports to relative imports (d7cba2a)
- positional parameters to named parameters (79d3c91)
- remove json serializable from accident stats (6bc04d9)
- remove json serializable from air quality (c83d7e0)
- remove json serializable from common (0efce2d)
- remove json serializable from journey (5d00ad9)
- remove json serializable from line (0455d9c)
- remove json serializable from mode (bfd5a50)
- remove json serializable from occupancy (4b55f2c)
- remove json serializable from place (0ef0982)
- remove json serializable from road (4e8ef08)
- remove json serializable from stop point (9c395df)
- remove json serializable from vehicle (832cc64)
- remove list from json from accident stats (41041e4)
- remove list from json from air quality (4b7a1c2)
- remove list from json from common (47d7436)
- remove list from json from journey (a51368a)
- remove list from json from line (850cf6e)
- remove list from json from mode (79533c0)
- remove list from json from occupancy (464062b)
- remove list from json from place (64e2d0f)
- remove list from json from road (ef5f628)
- remove list from json from stop point (f1d1302)
- remove list from json from vehicle (8f5249f)
- remove numerical suffixes from classes (ceb70ba)
- remove tfl api client context (22b145f)
- remove unnecessary export (d8b84eb)
- remove unused accident stats models (5c857d2)
- remove unused api health models (b927414)
- remove unused common models (167c811)
- remove unused etl models (d0d1623)
- remove unused fare models (aab9fc7)
- remove unused journey models (f3091e2)
- remove unused line models (31e2310)
- remove unused models (3323964)
- remove unused place models (c05b33b)
- remove unused road models (a279140)
- remove unused stop point models (894fcac)
- remove unused web cat models (53f724d)
- rename air quality model fields (e15fe3c)
- rename cycle superhighway field (bca9e8c)
- rename journey service get meta modes method (ad92424)
- rename vehicle service get predictions method (0bf9b07)
- shorten method names in services (dbedb54)
- update app key client (0f95955)
- update package example (fe796d3)
- update tfl api client exception (a50f099)
Tests #
- add accident stats service (504f6f5)
- add air quality service (7ed2902)
- add bike point service (74e9db3)
- add cabwise service (ab85e98)
- add cycle superhighway service (a306664)
- add journey service (8e11fcc)
- add line service (fca1c09)
- add mode service (4c89715)
- add network status service (ec99195)
- add occupancy service (22b223a)
- add place service (b4c44f3)
- add road service (3e7fde4)
- add search service (a046c96)
- add stop point service (8c697d5)
- add vehicle service (16cf0bf)
- remove tfl api client (03a3977)
- update accident stats service (117a2c9)
- update air quality service (425f560)
- update bike point service (7e29a91)
- update cabwise service (6b42551)
- update journey service (c48ced5)
- update line service (886a245)
- update place service (acdf2e6)
1.0.0-nullsafety.1 (2021-02-07) #
⚠ BREAKING CHANGES #
- fare details contactless payg only fare
- prediction vehicle cd id
- stop point sms code
Builds #
- upgrade dependencies (a33e1e6)
Documentation #
- update constants (e0eb18e)
- update description (683ad9a)
- update exceptions (55b5962)
- update extensions (0516662)
Chores #
- update license (f6a4e63)
Code Refactoring #
- fare details contactless payg only fare (cfe2a5c)
- prediction vehicle cd id (eab0c0f)
- stop point sms code (c64f218)
1.0.0-nullsafety.0 (2020-12-20) #
Continuous Integrations #
- remove github actions [skip ci] (8f451ad)