This PR updates all REST API methods to use onebusaway-sdk, making the code cleaner and easier to maintain. By using the SDK, we improve consistency and reliability in API interactions.
This PR also changes the way APIs are fetched to enforce a pattern that ensures consistency across all routes.
Additionally, this PR introduces a singleton obaSdk to avoid multiples initializations and improve performance.
This PR updates all REST API methods to use onebusaway-sdk, making the code cleaner and easier to maintain. By using the SDK, we improve consistency and reliability in API interactions.
This PR also changes the way APIs are fetched to enforce a pattern that ensures consistency across all routes.
Additionally, this PR introduces a singleton obaSdk to avoid multiples initializations and improve performance.
Please do
npm i onebusaway-sdk@0.1.0-alpha.40.
This is the latest version of the SDK.