pushshift / reddit_sse_stream

A Server Side Event stream to deliver Reddit comments and submissions in near real-time to a client.

Home Page:http://stream.pushshift.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add "comment_backfill" and "submission_backfill" Parameters

pushshift opened this issue · comments

When connecting to the stream, the stream should start by returning only new Reddit data since the connection was made. By passing a comment_backfill and submission_backfill parameter, a client can request the previous X objects for either comments or submissions.

For example, submission_backfill=10000 would start the stream with current comments while returning submissions made 10,000 submissions ago until both were in sync with current data.