Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore possibilities regarding importing metadata from Datacite API #2499

Open
wfenrich opened this issue Jun 17, 2024 · 1 comment
Open
Assignees

Comments

@wfenrich
Copy link

wfenrich commented Jun 17, 2024

What can we get by this endpoint: https://support.datacite.org/docs/api-get-doi ?

Or maybe this one? https://support.datacite.org/docs/api-get-lists

They both return JSON, but the JSON contains encoded XML – can we use it?

Can we reuse XML importer that we already have? Or maybe make it an intermediary link?

@wfenrich wfenrich converted this from a draft issue Jun 17, 2024
@diasf diasf moved this from To do to In progress in Current Issues Jun 26, 2024
@diasf
Copy link
Contributor

diasf commented Jun 26, 2024

Both api's return similar data, however the xml field is only present in the single DOI version.

From our datacite exporter we already have a mapping for XML which matches the encoded xml field. So we could re-use that potentially.

The json format is very similar to the xml and shouldn't be to much effort to add a json mapper. It would also be more flexible, as that way, we would also be able to use the muli DOI API.

All in all, would recomend going with JSON.

@diasf diasf moved this from In progress to Waiting Room in Current Issues Jun 26, 2024
@diasf diasf moved this from Waiting Room to Done in Current Issues Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants