-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Issue
Magic numbers and strings scattered, base URLs hardcoded in multiple places.
Location: Repository structure
Problems
- Magic numbers and strings scattered
- Base URLs hardcoded in multiple places
- No centralized constants
Recommended Fix
# constants.py
BASE_URL_V7 = "https://data.traffic.hereapi.com/v7"
BASE_URL_V6 = "https://traffic.api.here.com/traffic/6.3"
BASE_URL_V3 = "https://traffic.api.here.com/v3"
OAUTH_TOKEN_URL = "https://account.api.here.com/oauth2/token"
DEFAULT_TIMEOUT = 30
MAX_RADIUS_METERS = 100000Metadata
Metadata
Assignees
Labels
No labels