An open API service indexing awesome lists of open source software.

https://github.com/neonwatty/pypmed

A Python interface for PubMed's APIs
https://github.com/neonwatty/pypmed

api publications pubmed python research-tool

Last synced: 3 months ago
JSON representation

A Python interface for PubMed's APIs

Awesome Lists containing this project

README

          

[![Python application](https://github.com/jermwatt/pypmed/actions/workflows/python-app.yml/badge.svg)](https://github.com/jermwatt/pypmed/actions/workflows/python-app.yml)

# pypmed - a simple Python interface for [PubMed's API](https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi/)

pypmed is a Python library that provides easy access to the [PubMed's APIs](https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi/).

## Installation

`pip install pypmed`

## Example usage

This example can be executed in [this example notebook](https://colab.research.google.com/github/jermwatt/pypmed/blob/main/pypmed_example_usage.ipynb#scrollTo=8TBhToBJo8ZY).

```python
from pypmed import apis

search_criteria = {'author_first_name': 'rachel',
'author_last_name': 'gottschalk',
'institution': 'university of pittsburgh at pittsburgh',
'publication_year': 2022
}

response = apis.query_pubmed_api(search_criteria=search_criteria)
```