/opencitingpy

A python implementation to obtain data from Open Citations(https://opencitations.net/) API.

Primary LanguagePythonMIT LicenseMIT

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:

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

MIT