Skip to content

hackernews

diapason.connectors.hackernews

Hacker News connector — top stories from the HN Firebase API.

No authentication required. All API calls are in module-level functions for easy mocking in tests.

HackerNewsConnector

Bases: BaseConnector

Fetch the current top stories from Hacker News.

sync(*, since=None, cursor=None)

Yield Documents for the top 5 Hacker News stories.