Skip to main content

An unofficial api wrapper for tinder.

Project description

Unofficial Tinder-API in Python

An unofficial api wrapper for tinder. To see more examples, check the tests folder. For any problems you may have, open an issue in this repo.

Api Type Info
✔️ Authentication Supports authentication both login & providing already existing auth
✔️ Registering Supports registering a new account if you do not have one
✔️ Messaging Supports sending & getting messages from/to matches
✔️ Swiping Supports fetching users to swipe on & liking/passing on them
✔️ Matches Supports fetching matches & messages with matches
✔️ Users Supports getting user data by id/username
✔️ Account Supports getting account data and editing account
✔️ Spotify Supports getting popular playlists/songs on tinder today
✔️ Captcha Solver Supports captcha solving with 2captcha, currently this is not used
✔️ Tinder+ Support Supports tinder gold/premium/platinum features if you have it
❌ Media Currently i do not have a solution to uploading photos/media to profile, But protobufs & endpoints are implemented.

Installation

pip install MTinderApi

Getting users to swipe and swiping

from TinderApi import Tinder

tinder = Tinder(debug=True, x_auth_token="your_auth_token")
users_to_swipe = tinder.swipe.get_users()

for user in users_to_swipe:
    liked = tinder.swipe.like_user(user["user_id"]) # LIKE USER
    print(liked) # -> {'status': 200, 'match': False, 'user_id': 'some_user_id', 'likes_left': 100}

Logging in to tinder

from TinderApi import Tinder

tinder = Tinder(debug=True)
tinder.login(
    "your_phone_number",
    "your_email",
    store_auth_token=True
)

Registering a new account

from TinderApi import Tinder

tinder = Tinder(debug=True)
fields = [
        {
            "data": "1995-10-10",
            "name": "birth_date"
        }, 
        {
            "data": 0,
            "name": "gender"
        }, 
        {
            "data": False,
            "name": "show_gender_on_profile"
        }, 
        {
            "data": [1],
            "name": "interested_in_gender"
        }, 
        {
            "data": {"checked": False, "should_show_option": False},
            "name": "show_same_orientation_first"
        }, 
        {
            "data": "David",
            "name": "name"
        },
        {
            "data": False,
            "name": "show_orientation_on_profile"
        }
]
tinder.register(
    phone_number="", # ONLY USA NUMS
    email="",
    fields=fields,
    photo_path="photo1.jpg",
    store_account_data=True
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MTinderApi-0.0.3.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

MTinderApi-0.0.3-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file MTinderApi-0.0.3.tar.gz.

File metadata

  • Download URL: MTinderApi-0.0.3.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for MTinderApi-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9494bcbf86e20e85a7635bec1321e8a745142d0dfea80e35440df54db16c12d7
MD5 8d8cb5a623ee4a70eb8ce13968847e39
BLAKE2b-256 af7136a8c46f919e68733cd7575c62d142e7cbbc0a670d604dcfbd4e7ab172dc

See more details on using hashes here.

Provenance

File details

Details for the file MTinderApi-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: MTinderApi-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for MTinderApi-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c5b021193a0f63375a2d95c582cdf2c77589aaf4663c6932a75c6f65fddd542
MD5 4b0f8f230ee718dd14d5694e8297ec72
BLAKE2b-256 d68fd77663f5baeb71674c1e9d6a27cda6597fcbbb59557d8448b4ce46b925b6

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page