https://github.com/boneskull/node-kiln
Node module for Kiln API support
https://github.com/boneskull/node-kiln
Last synced: 10 months ago
JSON representation
Node module for Kiln API support
- Host: GitHub
- URL: https://github.com/boneskull/node-kiln
- Owner: boneskull
- License: mit
- Archived: true
- Created: 2013-09-03T07:38:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-11-18T17:27:48.000Z (over 9 years ago)
- Last Synced: 2025-04-04T06:11:12.311Z (about 1 year ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
node-kiln
=========
**Overview:** Provides Kiln API functionality.
Very little here at the moment. You can login but can't do anything.
`kiln.watchActivity()` works well, but you have to deal with the objects
returned by Feedparser yourself.
module kiln
===========
kiln.login()
------------
Logs into Kiln. Saves a token.
kiln.watchActivity(dataHandler, metaHandler, ms)
------------------------------------------------
Watches RSS feed and callbacks when we have data. Saves data GUIDs in Redis. Asynchronous.
**Parameters**
**dataHandler**: *function*, Callback for when we have data
**metaHandler**: *function*, Callback for when we have metadata. This should only happen once per call.
**ms**: *number=30000*, How often to poll in ms (defaults to 30s)