kylegordon / pypollen

Python pollen count module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Python pollen count module


Languages

Language:Python 100.0%