pybliometrics-dev / pybliometrics

Python-based API-Wrapper to access Scopus
https://pybliometrics.readthedocs.io/en/stable/
Other
401 stars 124 forks source link

#336 If AbstractRetrieval collaboration is a list then get every item #337

Closed nils-herrmann closed 3 weeks ago

nils-herrmann commented 1 month ago

The collaboration data takes two forms: A list of dictionaries

{'collaboration': [{...}, {...}]}

or one dictionary

{'collaboration': {...}}

This PR includes the required changes to handle both cases.