Metadata-Version: 2.1
Name: ScopusApyJson
Version: 1.1.2
Summary: Python modules for parsing the response to a Scopus API request
Home-page: https://github.com/TickyWill/ScopusApyJson
Author: BiblioAnalysis team
Author-email: francois.bertin7@wanadoo.fr, amal.chabli@orange.fr
License: MIT
Keywords: Metadata parsing,Scopus request,API management
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openpyxl==3.1.2
Requires-Dist: pandas==2.1.4
Requires-Dist: requests==2.31.0

# ScopusApyJson
## Description
Python modules for parsing the response to a request through [Scopus Api](https://api.elsevier.com/content/abstract/) based on DOI.

## Installation
Run the following to install:
```python
pip install ScopusApyJson
```

## Usage example
```python
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](https://github.com/TickyWill/ScopusApyJson/Demo_ScopusApyJson.ipynb).


# Release History
- 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


# Meta
	- authors : BiblioAnalysis team

Distributed under the [MIT license](https://mit-license.org/)


