# 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/)
Raw data
{
"_id": null,
"home_page": "https://github.com/TickyWill/ScopusApyJson",
"name": "ScopusApyJson",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Metadata parsing, Scopus request, API management",
"author": "BiblioAnalysis team",
"author_email": "francois.bertin7@wanadoo.fr, amal.chabli@orange.fr",
"download_url": "https://files.pythonhosted.org/packages/a0/ce/4b6b42470d4fdeb7ecb31521024d797dac16246c6c477a6fc1c35cb5b200/ScopusApyJson-1.1.1.tar.gz",
"platform": null,
"description": "# ScopusApyJson\r\n## Description\r\nPython modules for parsing the response to a request through [Scopus Api](https://api.elsevier.com/content/abstract/) based on DOI.\r\n\r\n## Installation\r\nRun the following to install:\r\n```python\r\npip install ScopusApyJson\r\n```\r\n\r\n## Usage example\r\n```python\r\nimport ScopusApyJson as saj\r\n\r\ndoi_list = [\"doi/10.1016/j.fuproc.2022.107223\",\r\n \"doi/10.1109/pvsc48317.2022.9938766\"]\r\nscopus_tup = saj.build_scopus_df_from_api(doi_list, timeout = 20, verbose = True)\r\nauthy_status = scopus_tup[2]\r\nif authy_status: \r\n scopus_df = scopus_tup[0]\r\n scopus_df.to_excel(<your_fullpath_file1> + \".xlsx\", index = False)\r\n failed_doi_df = scopus_tup[1]\r\n failed_doi_df.to_excel(<your_fullpath_file2> + \".xlsx\", index = False)\r\nelse:\r\n print(\"Authentication failed: please check availability of authentication keys\")\r\n```\r\n**for more exemples refer to** [ScopusApyJson-exemples](https://github.com/TickyWill/ScopusApyJson/Demo_ScopusApyJson.ipynb).\r\n\r\n\r\n# Release History\r\n- 1.0.0 first release\r\n- 1.1.0 check of fields availability when parsing the request response\r\n- 1.1.1 updated args of build_scopus_df_from_api function\r\n\r\n\r\n# Meta\r\n\t- authors : BiblioAnalysis team\r\n\r\nDistributed under the [MIT license](https://mit-license.org/)\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python modules for parsing the response to a Scopus API request",
"version": "1.1.1",
"project_urls": {
"Homepage": "https://github.com/TickyWill/ScopusApyJson"
},
"split_keywords": [
"metadata parsing",
" scopus request",
" api management"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ae22fc6278e10f6cc01464fc65b537cd77f01c07b937b63fe8328858a6268dfc",
"md5": "cd5c343cb72b30fc3d96a6292a13f7e9",
"sha256": "644e3e332b2ecc932ca83acf8acc0e4f4fb54eba3f520dbf75e78bd4fc201447"
},
"downloads": -1,
"filename": "ScopusApyJson-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cd5c343cb72b30fc3d96a6292a13f7e9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16726,
"upload_time": "2024-10-06T18:49:49",
"upload_time_iso_8601": "2024-10-06T18:49:49.551675Z",
"url": "https://files.pythonhosted.org/packages/ae/22/fc6278e10f6cc01464fc65b537cd77f01c07b937b63fe8328858a6268dfc/ScopusApyJson-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a0ce4b6b42470d4fdeb7ecb31521024d797dac16246c6c477a6fc1c35cb5b200",
"md5": "0ac38919277fb341647c5f1373943358",
"sha256": "4e94f4994b7533c94b8af5881d99ea8309f62c993d911b3a1e87d23d926d8d8e"
},
"downloads": -1,
"filename": "ScopusApyJson-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "0ac38919277fb341647c5f1373943358",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14870,
"upload_time": "2024-10-06T18:49:51",
"upload_time_iso_8601": "2024-10-06T18:49:51.016722Z",
"url": "https://files.pythonhosted.org/packages/a0/ce/4b6b42470d4fdeb7ecb31521024d797dac16246c6c477a6fc1c35cb5b200/ScopusApyJson-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-06 18:49:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "TickyWill",
"github_project": "ScopusApyJson",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "openpyxl",
"specs": [
[
"==",
"3.1.2"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"2.1.4"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
}
],
"lcname": "scopusapyjson"
}