MaRDI4NFDI / python-zbMathRest2Oai

Read data from the zbMATH Open API https://api.zbmath.org/docs and feed it to the OAI-PMH server https://oai.portal.mardi4nfdi.de/oai/
GNU General Public License v3.0
4 stars 0 forks source link

Harvesting articles associated to the software to include them in CodeMeta #108

Open Mazztok45 opened 2 weeks ago

Mazztok45 commented 2 weeks ago

This issue describes the software, including the article hyperlinks citing the software in the CodeMeta file that will be further deposited on Software Heritage. For example, we harvest the software:

https://api.zbmath.org/v1/software/8779

To collect the article identifiers citing the software, we use the endpoint with the software identifier at the end:

https://api.zbmath.org/v1/document/_structured_search?page=0&results_per_page=100&software%20id=8779

As the number of articles identifiers is limited to 100, we must iterate through pages with "page=0", "page=1", etc.