happn-wrapper
v1.1.93
Published
A Happn wrapper library
Downloads
30
Readme
A :revolving_hearts: Happn :package: wrapper library
A Happn wrapper library.
Features
- Uses Request on Steroids to rate limit, retry and circuit break outgoing HTTP requests :white_check_mark:
- Supports Bluebird :bird: promises :white_check_mark:
How to install
npm install happn-wrapper
How to use
Use it in your app
Authorize Facebook account and get recommendations
const HappnWrapper = require('happn-wrapper')
const happn = new HappnWrapper()
const facebookAccessToken = 'my-facebook-access-token'
happn.authorize(facebookAccessToken)
.then(() => happn.getRecommendations())
.then(({ results }) => console.log(results))
How to contribute
You can contribute either with code (e.g., new features, bug fixes and documentation) or by donating 5 EUR. You can read the contributing guidelines for instructions on how to contribute with code.
All donation proceedings will go to the Sverige för UNHCR, a swedish partner of the UNHCR - The UN Refugee Agency, a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.
Used by
- get-me-a-date - :heart_eyes: Help me get a :cupid: date tonight :first_quarter_moon_with_face:
License
Read the license for permissions and limitations.