Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

StatHat API Wrapper.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 setup.py
Octocat-spinner-32 stathat.py
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.