Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sungwoncho/node-producthunt
node.js wrapper for the Product Hunt API
https://github.com/sungwoncho/node-producthunt
Last synced: about 2 months ago
JSON representation
node.js wrapper for the Product Hunt API
- Host: GitHub
- URL: https://github.com/sungwoncho/node-producthunt
- Owner: sungwoncho
- License: mit
- Created: 2015-10-31T11:46:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-12T10:18:36.000Z (over 7 years ago)
- Last Synced: 2024-11-01T18:51:45.611Z (2 months ago)
- Language: JavaScript
- Homepage: http://sungwoncho.github.io/node-producthunt/
- Size: 411 KB
- Stars: 19
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-producthunt [![Build Status](https://travis-ci.org/sungwoncho/node-producthunt.svg?branch=master)](https://travis-ci.org/sungwoncho/node-producthunt)
Fully tested and documented node.js wrapper for the Product Hunt API
## Install
npm install producthunt
## Usage
The following is an example usage with a client level authentication.
```javascript
var productHuntAPI = require('producthunt');var productHunt = new productHuntAPI({
client_id: // your client_id
client_secret: // your client_secret
grant_type: 'client_credentials'
});// List all live events and filter by category
productHunt.live.index({search: {category: 'tech'}}, function (err, res) {
// do something with the response
});
```## Documentation
The sources files are fully documented. You can also refer to this
[auto-generated documentation](http://sungwoncho.github.io/node-producthunt/).## API Version
This module supports the latest v1 API of Product Hunt.
## Contributing
Please open issues with feature requests and bugs.
## License
MIT