Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Update Europeana endpoint (#974)
Browse files Browse the repository at this point in the history
* Update endpoint

* Update docstring
  • Loading branch information
stacimc authored Feb 8, 2023
1 parent 3a60c99 commit 52acf96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DAGs.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ ETL Process: Use the API to identify all CC licensed images.

Output: TSV file containing the images and the respective meta-data.

Notes: https://www.europeana.eu/api/v2/search.json
Notes: https://pro.europeana.eu/page/search

## `europeana_workflow`

Expand All @@ -223,7 +223,7 @@ ETL Process: Use the API to identify all CC licensed images.

Output: TSV file containing the images and the respective meta-data.

Notes: https://www.europeana.eu/api/v2/search.json
Notes: https://pro.europeana.eu/page/search

## `finnish_museums_workflow`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Output: TSV file containing the images and the
respective meta-data.
Notes: https://www.europeana.eu/api/v2/search.json
Notes: https://pro.europeana.eu/page/search
"""
import argparse
import functools
Expand Down Expand Up @@ -159,7 +159,7 @@ def _get_description(self, data: dict) -> str | None:
class EuropeanaDataIngester(ProviderDataIngester):
providers = {"image": prov.EUROPEANA_DEFAULT_PROVIDER}
sub_providers = prov.EUROPEANA_SUB_PROVIDERS
endpoint = "https://www.europeana.eu/api/v2/search.json?"
endpoint = "https://api.europeana.eu/record/v2/search.json?"
delay = 30

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit 52acf96

Please sign in to comment.