From c1bc3b0854b61e7de6e46420853f4cfb3756694a Mon Sep 17 00:00:00 2001 From: Chris Carlon Date: Wed, 27 Nov 2024 20:44:00 +0000 Subject: [PATCH] feat(Cats): added EDF as a catalogue [2024-11-27] --- HerdingCats/endpoints/api_endpoints.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HerdingCats/endpoints/api_endpoints.py b/HerdingCats/endpoints/api_endpoints.py index 9742232..f8b4e8f 100644 --- a/HerdingCats/endpoints/api_endpoints.py +++ b/HerdingCats/endpoints/api_endpoints.py @@ -39,6 +39,7 @@ class OpenDataSoftDataCatalogues(Enum): PARIS = "https://opendata.paris.fr" TOULOUSE = "https://data.toulouse-metropole.fr" ELIA_BELGIAN_ENERGY = "https://opendata.elia.be" + EDF_ENERGY = "https://opendata.edf.fr" # Add more catalogues as needed... class OpenDataSoftApiPaths: @@ -49,6 +50,7 @@ class OpenDataSoftApiPaths: SHOW_DATASET_EXPORTS = BASE_PATH.format("datasets/{}/exports") # Alternative base paths... + # Sometimes these are needed - not sure why need to dig into this BASE_PATH_2 = "/api/explore/v2.0/catalog/{}" SHOW_DATASETS_2 = BASE_PATH_2.format("datasets") SHOW_DATASET_INFO_2 = BASE_PATH_2.format("datasets/{}")