python wrapper for nih reporter apis --> https://api.reporter.nih.gov/
Project description
pynih - a Python interface for the NIH's Reporter APIs
pynih is a Python library that provides easy access to the NIH's Reporter APIs.
Installation
pip install pynih
Example usage
from pynih import apis
# illustration of project api usage
search_criteria = {'appl_id':'9795459'}
include_fields = ['ApplId', 'ProjectTitle']
project_data = apis.query_project_api(include_fields=include_fields, search_criteria=search_criteria)
# illustration of publication api usage
search_criteria = {'pmid':'26657764'}
publication_data = apis.query_publication_api(search_criteria=search_criteria)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pynih-0.1.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
pynih-0.1.2-py3-none-any.whl
(3.2 kB
view hashes)