npm i -g phunt
$ phunt
@username => help
For the first time, you are required to enter your Developer Token (NOT API key/secret) (see FAQ).
-
me
(Get current user) -
me posts
(See all posts created by current user) -
me products
(See all posts made by by current user) -
posts
(Get the tech posts of today) -
posts {category}
Get the posts of today (for given category) -
posts new
(Get all the newest posts)
Access Token
- Create new account on ProductHunt.
- Add an application.
- Generate static Developer Token.
- Your token can be found at the bottom of page.