This commit is contained in:
freaker2112 2024-08-13 15:17:25 -05:00
parent e6fd7a33c1
commit d20c08a8f1
4 changed files with 3232 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.venv

1
TODO Normal file
View File

@ -0,0 +1 @@
Query GTFS for

3219
metro_diagrammap.pdf Normal file

File diff suppressed because it is too large Load Diff

11
test.py Normal file
View File

@ -0,0 +1,11 @@
from google.transit import gtfs_realtime_pb2
import requests
from protobuf_to_dict import protobuf_to_dict
feed = gtfs_realtime_pb2.FeedMessage()
response = requests.get(
'https://svc.metrotransit.org/mtgtfs/vehiclepositions.pb', allow_redirects=True)
feed.ParseFromString(response.content)
zet_dict = protobuf_to_dict(feed)
print(zet_dict)