migration to fast-api

This commit is contained in:
lucas.oskorep
2023-07-10 18:43:43 -04:00
parent 59756093b1
commit fc78dc7e0e
11 changed files with 417 additions and 12896 deletions

View File

@@ -1,5 +1,6 @@
from enum import Enum
class Feed(Enum):
ACE = "https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-ace"
BDFM = "https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-bdfm"
@@ -10,6 +11,7 @@ class Feed(Enum):
N1234567 = "https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs"
SIR = "https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-si"
ALL_FEEDS = [
Feed.ACE,
Feed.BDFM,
@@ -18,4 +20,4 @@ ALL_FEEDS = [
Feed.L,
Feed.N1234567,
Feed.SIR
]
]