opencitingpy
A python implementation to obtain data from OpenCitations API.
Easily access the OpenCitations API from python, without having to bother about remembering the urls to call or formatting the data received from the API.
Access all the API endpoints available in OpenCitations to date:
- /references/{doi}
- /citations/{doi}
- /citation/{oci}
- /metadata/{dois}
- /citation-count/{doi}
- /reference-count/{doi}
Installation
Easilly install the opencitingpy package via pip.
pip install opencitingpy
Usage
You may use the OpenCitations easily as follows:
import opencitingpy
client = opencitingpy.client.Client()
dois = ['10.3390/s19020353', '10.3390/s19143113']
# get metadata of a list of articles, including title, publication year, number of citing and cited documents, etc.
metadata = client.get_metadata(dois)
Issues
If you run into any trouble or have questions, feel free to open an issue.
License
Release files for opencitingpy 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opencitingpy-0.1.1.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opencitingpy-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / opencitingpy-0.1.1.tar.gz
| Download URL | opencitingpy-0.1.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f04ec360e751a90225b2f9640ff3e90980af3e281178bce8b1d258de7824129
|
|
BLAKE2b-256 checksum How to use checksums |
f13866bd2c1df2899c01536cfead857c441a085d537d616e329411deed444cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / opencitingpy-0.1.1-py3-none-any.whl
| Download URL | opencitingpy-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2427734ba3571f1d11ec1b0f44bb8310fd29a5cdbab6d70a9acf28784422c0d7
|
|
BLAKE2b-256 checksum How to use checksums |
e1acf3a9ba3684c29e915fee048b4982fbac1b42d414db4eee15a3dfcb2df90c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|