Skip to main content
deleted 34 characters in body; edited tags
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

I've written an IRC bot that can notify channels when new questions with a certain tag are posted. However, currently I'm polling the URL #{APIURL}questions?pagesize=100&fromdate=#{@_lastQuestionsDate}&tagged=node.js&key=#{KEY} every minute. 

I think that a streaming API would be better - easier to use, faster notifications and even (although that's probably not so important) less network traffic. How
How about implementing one? It
It could probably reuse the filter logic from the query API and apply it to all events.

I've written an IRC bot that can notify channels when new questions with a certain tag are posted. However, currently I'm polling the URL #{APIURL}questions?pagesize=100&fromdate=#{@_lastQuestionsDate}&tagged=node.js&key=#{KEY} every minute. I think that a streaming API would be better - easier to use, faster notifications and even (although that's probably not so important) less network traffic. How about implementing one? It could probably reuse the filter logic from the query API and apply it to all events.

I've written an IRC bot that can notify channels when new questions with a certain tag are posted. However, currently I'm polling the URL #{APIURL}questions?pagesize=100&fromdate=#{@_lastQuestionsDate}&tagged=node.js&key=#{KEY} every minute. 

I think that a streaming API would be better - easier to use, faster notifications and even less network traffic.
How about implementing one?
It could probably reuse the filter logic from the query API and apply it to all events.

edited tags
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62
edited tags
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62
Post Migrated Here from meta.stackexchange.com (revisions)
Source Link
thejh
  • 151
  • 3
Loading