0.0
No commit activity in last 3 years
No release in over 3 years
A Ruby interface to the Tinder API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 0.11.3
~> 10.0

Runtime

~> 2.2.1
 Project Readme

tinder-ruby

A Ruby interface to the Tinder API

Installation

Add this line to your application's Gemfile:

gem 'tinder-ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tinder-ruby

Usage

Specify FB_TOKEN

# Create [project root]/.env
FB_TOKEN = AAABBBCCCDDDEEEFFF...

Initialize a client

require 'tinder'

token = ENV['FB_TOKEN']
client = Tinder::Client.new(token)

Get your own profile data

client.profile

Get match recommendations

client.recs

Change your search preferences

client.change_filter(
  age_filter_min: 18,
  age_filter_max: 30,
  gender: 0,
  gender_filter: 1,
  distance_filter: 50
)

License

The gem is available as open source under the terms of the MIT License.