Skip to content

JoelOtter/pynder

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 162 commits behind charliewolf:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pynder

This is a python client for the Tinder API.

Please see the examples for more information on how to use.

You start by instantiating a pynder.Session object with a Facebook ID and Facebook access token.

Once your session is initialized you have the following methods / attributes:

pynder.nearby_users() # returns a list of users nearby
pynder.matches() # get users you have already been matched with
pynder.update_location(LAT, LON) # updates latitude and longitude for your profile
pynder.profile  # your profile. If you update its attributes they will be updated on Tinder.

When you run nearby_users you will receive a list of Hopeful objects. These have the following properties:

user.bio # their biography
user.name # their name
user.photo # a list of photo URLs
user.age # their age
user.birth_date # their birth_date
user.ping_time # last online
user.distance # distane from you
user.common_friends # friends in common
user.common_likes # likes in common

You may run user.like() or user.dislike() on that user.

For your list of matches, they will have the same attributes as above except you can't dislike or like them. You can, however, see any messages exchanged (match.messages) or send them a message yourself (match.message("Eyyyy gurl")).

Please let me know if you have any questions or bug reports.

About

Python client for tinder api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%