Module pipelines.rj_smtr.br_rj_riodejaneiro_sigmob.tasks
Tasks for br_rj_riodejaneiro_sigmob
Functions
def request_data(endpoints: dict)
-
Request data from multiple API's
Args
endpoints
:dict
- dict contaning the API id, URL and unique_key column
Raises
e
- Any exception during the request. Usually timeouts
Returns
dict
- containing the paths for the data saved during each request