{"_id":"stathat","_rev":"11-7a561df8b8735efac87595b62b927686","name":"stathat","description":"stathat.com API library","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.5":{"name":"stathat","description":"stathat.com API library","version":"0.0.5","homepage":"http://www.stathat.com","repository":{"url":"github.com/stathat/shlibs/node"},"author":{"name":"Patrick Crosby","email":"patrick@stathat.com"},"main":"./main","engines":{"node":"*"},"_id":"stathat@0.0.5","dist":{"shasum":"435a05aff4ce9a037f33768116c42712a70e7f4c","tarball":"https://registry.npmjs.org/stathat/-/stathat-0.0.5.tgz","integrity":"sha512-O+PK0uM5wCw8zBVVDveWPFGAYiFl6L+ImfEQOYTSyKSsM5BOK9jhxXp9VrTw7wYidvow2OUHd5CL+TEKVYVTlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCadqWIzCtoumzKSY/NVOnAeR2FmGvodCzM2YDt3eTitQIgViHUBOTtBM8oiaSMbi4yRpSMjx4VGP4bmmJFE8acCyM="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"stathat","email":"info@stathat.com"},"maintainers":[{"name":"stathat","email":"info@stathat.com"}],"directories":{}},"0.0.6":{"name":"stathat","description":"stathat.com API library","version":"0.0.6","homepage":"http://www.stathat.com","repository":{"url":"github.com/stathat/shlibs/node"},"author":{"name":"Patrick Crosby","email":"patrick@stathat.com"},"main":"./main","engines":{"node":"*"},"_id":"stathat@0.0.6","dist":{"shasum":"06dc64b8d3617c89daeb889846617da1fcf7d25c","tarball":"https://registry.npmjs.org/stathat/-/stathat-0.0.6.tgz","integrity":"sha512-h5tg9wjEUB3QT75QIrunrJiCT6v61WpmPQNd6t9EnhL3Dk0LPHFjoo+Bf/NGPc6HSMxL/ZWABqr4Fwwb5kSpCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDH8K9x29Yjf+dfQmSgcX/s8O06uewDjypBoT3PMgcXhAiEA4gYD9qK8KEqvi98ModTU8ZIsFkBLPuxS3B8Y39jXxhU="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"stathat","email":"info@stathat.com"},"maintainers":[{"name":"stathat","email":"info@stathat.com"}]},"0.0.7":{"name":"stathat","description":"stathat.com API library","version":"0.0.7","homepage":"http://www.stathat.com","repository":{"url":"github.com/stathat/shlibs/node"},"author":{"name":"Patrick Crosby","email":"patrick@stathat.com"},"main":"./main","engines":{"node":"*"},"_id":"stathat@0.0.7","dist":{"shasum":"a94bef18e8216c282ed93de2e47b0cb767494fcc","tarball":"https://registry.npmjs.org/stathat/-/stathat-0.0.7.tgz","integrity":"sha512-SOcR1JYmtC0MZ5E8WoMb+hSmNFjBCvRUTXdD556IdoC/i9lTVI98wkJ0u9fNm6ISylaT172hEYPuwSMc8ICbkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2S3lyweabCgTHFRUN5Hzl92pMGXNAF3T+FRY57HXj2AiB8YU55OGDmYYkSVD+v/khkwZ2CO5hwLCp9asg6FPPr+A=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"stathat","email":"info@stathat.com"},"maintainers":[{"name":"stathat","email":"info@stathat.com"}]},"0.0.8":{"name":"stathat","description":"stathat.com API library","version":"0.0.8","homepage":"http://www.stathat.com","repository":{"url":"github.com/stathat/shlibs/node"},"author":{"name":"Patrick Crosby","email":"patrick@stathat.com"},"main":"./main","engines":{"node":"*"},"_id":"stathat@0.0.8","dist":{"shasum":"19a258d9d4a3204f36300f898942b5ff20a181d2","tarball":"https://registry.npmjs.org/stathat/-/stathat-0.0.8.tgz","integrity":"sha512-DbW/+aK5u3v2h6R8X4NfYMFLm4FI22UULIWjHOWR8Tn4EzcxBLIrsUOFktKwn4PipcP/EBp9dZc6aBZYvj41NQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA54pmsDWKOrHkOkGM1PuUE3rrJvXpwQXdzCUR2sYh5AIhALBcaFeuv7WS5il2WBEro5hwZzuf/r+XF6QrbpKOw4p7"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"stathat","email":"info@stathat.com"},"maintainers":[{"name":"stathat","email":"info@stathat.com"}]}},"readme":"# StatHat API Module for Node.js\n\nThis a module to make interacting with the [stathat.com](http://www.stathat.com)\nAPI easy.\n\n## Install\n\n    npm install stathat\n\n## Example\n\n    var stathat = require('stathat');\n\n    stathat.trackEZCount('you@example.com', 'messages sent - female to male', 3,\n        function(status, json) {\n            console.log(\"status: \" + status);\n            console.log(\"json:   \" + json);\n        });\n\n## Methods\n\n### stathat.trackEZCount(email, stat_name, count, callback)\n\nTrack a counter using the EZ API.  `stat_name` can be a new stat name and\nyou can create new stats for your account in the middle of your code\nwithout having to create them on the stathat.com site.  The callback is\ncalled with the status of the call and the json response.\n\n### stathat.trackEZValue(email, stat_name, value, callback)\n\nTrack a value using the EZ API.  `stat_name` can be a new stat name and\nyou can create new stats for your account in the middle of your code\nwithout having to create them on the stathat.com site.  The callback is\ncalled with the status of the call and the json response.\n\n### stathat.trackCount(user_key, stat_key, count, callback)\n\nTrack a counter using the classic API.  Get `user_key` and `stat_key`\nfrom the details page for a stat on [stathat.com](http://www.stathat.com).\nThe callback is called with the the status of the call and the json response.\n\n### stathat.trackValue(user_key, stat_key, value, callback)\n\nTrack a value using the classic API.  Get `user_key` and `stat_key`\nfrom the details page for a stat on [stathat.com](http://www.stathat.com).\nThe callback is called with the the status of the call and the json response.\n\n## HTTPS\n\nTo submit requests via HTTPS instead of HTTP (the default), do the following\nonce:\n\n    var stathat = require('stathat');\n    stathat.useHTTPS = true;\n\nAll subsequent requests will use HTTPS.\n\n## Contact\n\nYou can find more examples using this module on [stathat.com/examples](http://www.stathat.com/examples).\n\nContact the StatHat programmers on twitter: [@stathat](http://twitter.com/stathat).\n\nWritten by Patrick Crosby\nEmail me directly:  patrick at the name of this module dot com\n\n","maintainers":[{"name":"stathat","email":"info@stathat.com"}],"time":{"modified":"2022-06-27T00:01:50.544Z","created":"2014-02-04T16:11:03.226Z","0.0.5":"2014-02-06T03:49:13.711Z","0.0.6":"2014-02-06T03:52:28.791Z","0.0.7":"2014-02-13T19:32:20.966Z","0.0.8":"2014-02-13T19:39:49.268Z"},"readmeFilename":"README.md"}