happn-wrapper

A Happn wrapper library

MIT License

Downloads
258
Stars
5
Committers
5

A πŸ’ž Happn πŸ“¦ wrapper library

A Happn wrapper library.

Features

  • Uses Request on Steroids to rate limit, retry and circuit break outgoing HTTP requests βœ…
  • Supports Bluebird 🐦 promises βœ…

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 - 😍 Help me get a πŸ’˜ date tonight πŸŒ›

License

Read the license for permissions and limitations.