tfl_api_client 1.0.0 copy "tfl_api_client: ^1.0.0" to clipboard
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 from meta to metaModes to align with other services.
  • Rename the get predictions method in the VehicleService from get to arrivals 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 to journeyResults.
  • Convert positional parameters to named parameters to improve readability.
  • Rename ClientException to TflApiClientException to avoid naming conflicts and update the fields in TflApiClientException.
  • Remove unnecessary numerical suffixes from model class names.
  • Remove listFromJson and mapFromJson methods from common models.
  • Remove listFromJson and mapFromJson methods from vehicle models.
  • Remove listFromJson and mapFromJson methods from stop point models.
  • Remove listFromJson and mapFromJson methods from road models.
  • Remove listFromJson and mapFromJson methods from place models.
  • Remove listFromJson and mapFromJson methods from occupancy models.
  • Remove listFromJson and mapFromJson methods from mode models.
  • Remove listFromJson and mapFromJson methods from line models.
  • Remove listFromJson and mapFromJson methods from journey models.
  • Remove listFromJson and mapFromJson methods from air quality models.
  • Remove listFromJson and mapFromJson 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 use Client 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 #

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 #

Documentation #

Chores #

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)

Chores #

Code Refactoring #

0
likes
150
points
29
downloads

Publisher

verified publisherthomasclark.dev

Weekly Downloads

A client for accessing the TfL API. Please note that Client for TfL API is unofficial and not endorsed by TfL.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on tfl_api_client