Skip to content

Commit

Permalink
feat(Cats): added EDF as a catalogue [2024-11-27]
Browse files Browse the repository at this point in the history
  • Loading branch information
CHRISCARLON committed Nov 27, 2024
1 parent 3b1123a commit c1bc3b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HerdingCats/endpoints/api_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/{}")
Expand Down

0 comments on commit c1bc3b0

Please sign in to comment.