Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f97f3e8ff2
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.375 kB

stathat.py

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

Usage:

>>> from stathat import StatHat
>>> stats = StatHat('me@kennethreitz.com')
>>> stats.count('wtfs/minute', 10)
True
>>> stats.count('connections.active', 85092)
True

Enjoy.

Installation

Installation is simple:

$ pip install stathat
Jump to Line
Something went wrong with that request. Please try again.