diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..05ab904 --- /dev/null +++ b/Pipfile @@ -0,0 +1,18 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +argparse = "==1.4.0" +sparqlwrapper = "==1.8.5" +pandas = "==1.2.4" +rdflib = "==6.0.2" +requests = "==2.25.1" +bs4 = "==0.0.1" +beautifulsoup4 = "==4.9.3" + +[dev-packages] + +[requires] +python_version = "3.12" diff --git a/eurlex/__init__.py b/eurlex/__init__.py index 9cacefe..000f57d 100644 --- a/eurlex/__init__.py +++ b/eurlex/__init__.py @@ -328,6 +328,8 @@ def get_html_by_cellar_id(cellar_id: str, language: str = "en") -> str: ---------- cellar_id : str The CELLAR ID to find HTML for. + language : str + The language to retrieve the HTML in (default: "en"). Returns ------- @@ -356,6 +358,9 @@ def get_html_by_celex_id(celex_id: str, language: str = "en") -> str: ---------- celex_id : str The CELEX ID to find HTML for. + language : str + The language to retrieve the HTML in (default: "en"). + Returns -------