Skip to content
A Python-based CLI for working with Hacker News.
Python
Pull request Compare This branch is 36 commits behind nicksergeant:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.venv
README.markdown
hackernews.py
requirements.txt

README.markdown

Hacker News

A Python-based CLI for working with Hacker News.

Requirements

Requirements can be installed directly by using

pip install -r requirements.txt

Using hackernews

Help

hackernews.py -h

Saved items

Retrieve a user's latest saved items, and print the output as JSON (default):

hackernews.py saved -u 'username' -p 'password'

Retrieve all saved items, and print the output as XML (this might take a while):

hackernews.py saved -all -e xml -u 'username' -p 'password'

Help for the saved subcommand:

hackernews.py saved -h
Something went wrong with that request. Please try again.