Metadata-Version: 2.1
Name: pynih
Version: 0.1.0
Summary: python wrapper for nih reporter apis --> https://api.reporter.nih.gov/
License: MIT
Author: Jeremy Watt
Author-email: jermwatt@gmail.com
Requires-Python: >=3.9.1,<3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: requests (>=2.28.2,<3.0.0)
Description-Content-Type: text/markdown

# pynih - nih reporter api access via python

pynih is a python library that provides easy access to the NIH's set of [Reporter APIs](https://api.reporter.nih.gov/).

## 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)
```

