cc-archive / cccatalog

[PROJECT TRANSFERRED] Mapping the commons towards an open ledger and cc search.
https://github.com/WordPress/openverse-catalog
MIT License
63 stars 60 forks source link

[Feature] Retrieving sub providers within Europeana #441

Closed ChariniNana closed 4 years ago

ChariniNana commented 4 years ago

Problem Description

Retrieve sub providers such as the 'Wellcome Collection' within Europeana, which are useful to a broader audience.

Solution Description

So far, we have identified the 'Wellcome Collection' as an interesting sub provider to retrieve from Europeana. The 'dataProvider' field in the JSON response returned from Europeana API call identifies the sub providers and we store this value in the image store meta data field. Likewise, we set the source value in the DB image table/image store to the relevant sub provider value if it is one we are interested in. Otherwise the source value is set to 'europeana'. This solution needs to be implemented both at the API script level and the DB level.

Additional context

This is related to issue #392