hfreire / tinder-wrapper

A :revolving_hearts: Tinder :package: wrapper library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Coverage Status Known Vulnerabilities Version Downloads

A Tinder 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 tinder-wrapper

How to use

Use it in your app

Authorize Facebook account and get recommendations

const TinderWrapper = require('tinder-wrapper')

const tinder = new TinderWrapper()
const facebookAccessToken = 'my-facebook-access-token'
const facebookUserId = 'my-facebook-id'

tinder.authorize(facebookAccessToken, facebookUserId)
  .then(() => tinder.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.

About

A :revolving_hearts: Tinder :package: wrapper library

License:MIT License


Languages

Language:JavaScript 100.0%