# tinder-token
Python library for generating access tokens for using Tinder API, using Facebook or Phone authentication.
## Quick Start
Install the package:
pip install -U tinder-token
If you want to use Facebook authentication, install with the following:
pip install -U tinder-token[facebook]
### CLI Script
A sample script is installed with the package. Follow the prompts in order to retrieve your access token.
./tinder-token
### API - Facebook
The facebook.get_tinder_token function will return a tuple, which contains the tinder token and refresh token.
from tinder_token.facebook import TinderTokenFacebookV2
facebook = TinderTokenFacebookV2()
- def sample_email_password(email: str, password: str) -> (str, str):
return facebook.get_tinder_token(fb_email=email, fb_password=password)
- def sample_facebook_token(fb_token: str) -> (str, str):
return facebook.get_tinder_token(fb_token=fb_token)
### API - Phone
from tinder_token.phone import TinderTokenPhoneV2
phone = TinderTokenPhoneV2()
- def sample_phone(phone_number: str) -> str:
phone.send_otp_code(phone_number) otp_code = input(‘code: ‘)
refresh_token = phone.get_refresh_token(otp_code, phone_number) return phone.get_tinder_token(refresh_token)
Metadata
Release files for tinder-token 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tinder-token-1.0.2.tar.gz | 3.7 kB | Without provenance | Details for tinder-token-1.0.2.tar.gz |
Release files / tinder-token-1.0.2.tar.gz
| Download URL | tinder-token-1.0.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf81d5636d40f821a15d2c94e2a437b2db671b628f88c4777d8dc4341e4f2a65
|
|
BLAKE2b-256 checksum How to use checksums |
c37fb81a76ce89800a6a7400beea1755eea78cf497221ebc7935c25fb95822eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Security for tinder-token 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.