web_programming.get_top_hn_posts

Functions

get_hackernews_story(→ dict)

hackernews_top_stories(→ list[dict])

Get the top max_stories posts from HackerNews - https://news.ycombinator.com/

hackernews_top_stories_as_markdown(→ str)

Module Contents

web_programming.get_top_hn_posts.get_hackernews_story(story_id: str) dict
web_programming.get_top_hn_posts.hackernews_top_stories(max_stories: int = 10) list[dict]

Get the top max_stories posts from HackerNews - https://news.ycombinator.com/

web_programming.get_top_hn_posts.hackernews_top_stories_as_markdown(max_stories: int = 10) str