Skip to content

Instantly share code, notes, and snippets.

View sammarcus's full-sized avatar
💭
hi

Sam Marcus sammarcus

💭
hi
View GitHub Profile
@sammarcus
sammarcus / tinder-api-documentation.md
Last active August 29, 2015 14:27 — forked from rtt/tinder-api-documentation.md
Tinder API Documentation

Tinder API documentation

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)

Note: this was written in April/May 2014 and the API may have changed since

API Details

var flights = $("div:contains('Best flights'):last").parent().children();
if (flights.length === 0) {
flights = $("div:contains('Choose an outbound'):last").parent().parent().children()[1];
flights = $($(flights).children()[0]).children();
}
var avg_time = 0;
var avg_price = 0;
flights.toArray().forEach(function (elm, ind, arr) {
if ($(elm).attr("iti") != undefined) {