Skip to main content

python wrapper for nih reporter apis --> https://api.reporter.nih.gov/

Project description

pynih - nih reporter api access via python

pynih is a python library that provides easy access to the NIH's set of 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', 'ProjectStart', 'Project']
project_data = apis.query_project_api(include_fields=include_fields, 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.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

pynih-0.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page