2 ms·
I wrote a small python library to assist in querying the HN search API a little while back: https://github.com/nicolashahn/py-search-hn https://github.com/nico
by nicolashahn 8y ago
I wrote a small python library to assist in querying the HN search API a little while back:
https://github.com/nicolashahn/py-search-hn https://github.com/nicolashahn/py-search-hn
I also have an example of how to get all of a single user's comments:
https://github.com/nicolashahn/py-search-hn/blob/master/get_user_comments.py https://github.com/nicolashahn/py-search-hn/blob/master/get_...
You could use a similar method for submissions. I'm not sure how getting all the stories or comments you've voted on would work, however.