Python tool for easily making requests to the OpenCitations API
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opencitingpy-0.1.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for opencitingpy-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2427734ba3571f1d11ec1b0f44bb8310fd29a5cdbab6d70a9acf28784422c0d7 |
|
MD5 | e287038c2287226cfb25e1339ff7c2a4 |
|
BLAKE2b-256 | e1acf3a9ba3684c29e915fee048b4982fbac1b42d414db4eee15a3dfcb2df90c |