Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

kennethreitz-archive/stathat.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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