Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
StatHat API Wrapper.
Python
branch: master

Merge pull request #4 from titansgroup/timestamped

Accept timestamp argument to send to stathat.
latest commit e3de3b10e4
@kennethreitz authored
Failed to load latest commit information.
MANIFEST.in
README.rst update
setup.py update
stathat.py Accept timestamp argument to send to stathat.

README.rst

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
Something went wrong with that request. Please try again.