Python modules for parsing the response to a request through Scopus Api based on DOI.
Run the following to install:
pip install ScopusApyJson
import ScopusApyJson as saj
doi_list = ["doi/10.1016/j.fuproc.2022.107223",
"doi/10.1109/pvsc48317.2022.9938766"]
scopus_tup = saj.build_scopus_df_from_api(doi_list, timeout = 20, verbose = True)
authy_status = scopus_tup[2]
if authy_status:
scopus_df = scopus_tup[0]
scopus_df.to_excel(<your_fullpath_file1> + ".xlsx", index = False)
failed_doi_df = scopus_tup[1]
failed_doi_df.to_excel(<your_fullpath_file2> + ".xlsx", index = False)
else:
print("Authentication failed: please check availability of authentication keys")
for more exemples refer to ScopusApyJson-exemples.
- 1.0.0 first release
- 1.1.0 check of fields availability when parsing the request response
- 1.1.1 updated args of build_scopus_df_from_api function
- 1.1.2 Enhanced robusteness of code after pylint scan
- 1.1.3 Updated release history
- authors : BiblioAnalysis team
Distributed under the MIT license