A basic data pipeline using CDMX api:https://datos.cdmx.gob.mx/dataset/prueba_fetchdata_metrobus/resource/ad360a0e-b42f-482c-af12-1fd72140032e?view_id=75155643-88fc-4a58-8467-6df728426396 It gets the position of CDMX Metro with his Delegation
- Install libraries with
pip install requirements.txt
- run main.py #ONCE
- run api server with
uvicorn api_metro:app --reload
Get all Metro units:
Get single Metro unit with given Id:
Get Availabable Alcaldias:
Get Metro units that are in certain alcaldia with given name: