An simple API for allergen and disease data from Pollen.com
Project description
pypollencom: A Simple Python API for Pollen.com
pypollencom is a simple Python library for allergen and disease data from Pollen.com.
Installation
$ pip install pypollencom
Usage
import pypollencom
# Create a client based on ZIP code:
client = pypollencom.Client(80012)
# Get current allergen information:
client.allergens.current()
# Get more information on the current allergen outlook:
client.allergens.outlook()
# Get extended forecast allergen information:
client.allergens.extended()
# Get historic allergen information:
client.allergens.historic()
# Get extended forecast cold and flu information:
client.disease.extended()
Contributing
Check for open features/bugs or initiate a discussion on one.
Install the dev environment:
make init
.Enter the virtual environment:
pipenv shell
Code your new feature or bug fix.
Write a test that covers your new functionality.
Run tests:
make test
Build new docs:
make docs
Add yourself to AUTHORS.rst.
Submit a pull request!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypollencom-1.1.1.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for pypollencom-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce3f6f6e7bae18fe32244805da8279eb271c839f3b2112d6821d2136b80475f |
|
MD5 | f83edb78781afa71e1a11ddd467fff8f |
|
BLAKE2b-256 | aae71d650e24d4675cd205e1be2b4cd55da5191eece8e61f4d07e67b8f46aba6 |