Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 375 Bytes

README.rst

File metadata and controls

23 lines (15 loc) · 375 Bytes

stathat.py

A minimalistic API wrapper for StatHat.com, powered by Requests.

Usage:

>>> from stathat import StatHat
>>> stats = StatHat('[email protected]')
>>> stats.count('wtfs/minute', 10)
True
>>> stats.count('connections.active', 85092)
True

Enjoy.

Installation

Installation is simple:

$ pip install stathat