Last active
April 15, 2024 00:50
-
-
Save justinmklam/0842ca26cdc75de0575413cb7eb12161 to your computer and use it in GitHub Desktop.
DriveBC events for sea to sky highway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url = 'https://api.open511.gov.bc.ca/events' | |
params = { | |
'bbox': '-123.298030,49.243994,-122.975306,49.708883', | |
'event_type': 'INCIDENT', | |
'status': 'ARCHIVED', | |
'created': '>2024-04-13T00:00:00Z' | |
} | |
response = requests.get(url, params=params) | |
print(response.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment