Skip to content

Commit

Permalink
feat!(dataloader): changed dataloader method names to make them more …
Browse files Browse the repository at this point in the history
…user friendly and added more methods in for french data catalogue [2024-12-25]

BREAKING CHANGE: changed dataloader method names to make them more user friendly and added more methods in for french data catalogue
  • Loading branch information
CHRISCARLON committed Dec 25, 2024
1 parent d5e96ab commit 2c66423
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 33 deletions.
2 changes: 2 additions & 0 deletions HerdingCats/endpoints/api_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class FrenchGouvApiPaths:
BASE_PATH = "/api/1/{}"
SHOW_DATASETS = BASE_PATH.format("datasets")
SHOW_DATASETS_BY_ID = BASE_PATH.format("datasets/{}")
SHOW_DATASET_RESOURCE_BY_ID = BASE_PATH.format("datasets/{}/resources/")
CATALOGUE = "https://object.files.data.gouv.fr/hydra-parquet/hydra-parquet/b06842f8ee27a0302ebbaaa344d35e4c.parquet"

class FrenchGouvCatalogue(Enum):
GOUV_FR = "https://www.data.gouv.fr"
Loading

0 comments on commit 2c66423

Please sign in to comment.