Skip to content

4-Add BVG API Client#6

Merged
Timelessprod merged 7 commits intomainfrom
4-add-bvg-api-client
Apr 28, 2025
Merged

4-Add BVG API Client#6
Timelessprod merged 7 commits intomainfrom
4-add-bvg-api-client

Conversation

@Timelessprod
Copy link
Owner

Changes:

  • Add requests-mock library to requirements.txt to be able to mock API calls in tests
  • Call Pytest in test script
  • Add Python config file to hold some constants for different environments (test & prod)
  • Add script to run app
  • Add BVG API client with support for /radar and /stops endpoints
  • Add tests for BVG API client including some API response sample files
  • Update Docker Compose config to use existing environment variables or default to given values

@Timelessprod Timelessprod added the enhancement New feature or request label Apr 28, 2025
@Timelessprod Timelessprod self-assigned this Apr 28, 2025
@Timelessprod Timelessprod linked an issue Apr 28, 2025 that may be closed by this pull request
Copy link
Owner Author

@Timelessprod Timelessprod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are passing, approving

@Timelessprod Timelessprod merged commit cb308fe into main Apr 28, 2025
1 check passed
@Timelessprod Timelessprod deleted the 4-add-bvg-api-client branch April 29, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add BVG API Client

1 participant