Description:
Write a small script to collect and save raw data from the translink data source. The data should include key information about buses, timing, stops at UBC, how many people are on the bus etc
Tasks:
- Create
scripts/fetch_<source>.py
- Script should:
-- Call the API
-- Save the full raw JSON/CSV response in /data/raw/
-- Name file as <source>_YYYY-MM-DDTHH-MM.json
-- Log request timestamp and status
- Handle failed requests gracefully (e.g., retry or error message)
Acceptance Criteria:
Description:
Write a small script to collect and save raw data from the translink data source. The data should include key information about buses, timing, stops at UBC, how many people are on the bus etc
Tasks:
scripts/fetch_<source>.py-- Call the API
-- Save the full raw JSON/CSV response in /
data/raw/-- Name file as
<source>_YYYY-MM-DDTHH-MM.json-- Log request timestamp and status
Acceptance Criteria: