/pypollen

Python pollen count module

Primary LanguagePython

Pollen Python Api

This provides a simple python library to obtain the current pollen count for a specified location from Benadryl's Social Pollen Count.

Note: The Benadryl Social Pollen Count service only covers the United Kingdom.

Installation

pip install pypollen

API

Constructor

latitude and longitude have to be a set of coordinates in the UK.

Pollen(latitude,longitude)

Properties

pollencount # String with level of pollen

Example

from pypollen import Pollen
print Pollen(51.7546407,-1.2510746).pollencount