https://github.com/jcrodriguez1989/rtinder
Package: Access to Tinder API in R
https://github.com/jcrodriguez1989/rtinder
api like r swipe tinder tinder-api
Last synced: 7 months ago
JSON representation
Package: Access to Tinder API in R
- Host: GitHub
- URL: https://github.com/jcrodriguez1989/rtinder
- Owner: jcrodriguez1989
- Created: 2018-03-20T14:57:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-03T23:19:00.000Z (over 6 years ago)
- Last Synced: 2025-03-18T17:56:49.041Z (7 months ago)
- Topics: api, like, r, swipe, tinder, tinder-api
- Language: R
- Homepage: https://jcrodriguez1989.github.io/Rtinder/
- Size: 55.7 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
title: "Rtinder: Unofficial API Tinder for R"
output: github_document
---R client for accessing Tinder's API.
I could not find any scientific project for which to use Tinder data, **I would love to be informed about the idea that comes to you**.
Since the tinder API is not publicly open. Without the github repository
https://github.com/fbessez/Tinder , Rtinder would not have been possible.## Features
* Provides an interface to the tinder API.
* Allows swiping, getting matches, sending messages, among other functions.
## Installation
Rtinder is only available as a GitHub package. To install it run the following
from an R console:```{r eval=FALSE}
if (!require("remotes")) {
install.packages("remotes")
}
remotes::install_github("jcrodriguez1989/Rtinder")
```## Usage
From an R console type:
```{r}
library("Rtinder")
```
```{r eval=FALSE}
# When first using Rtinder, we should configure the account.
# It will save (by default) the config file in ~/.tinderAccount.R
# It will save just the access token, not the mail nor the password.
# Wont send info to any server besides Facebook.
# You can see configAccount, it is open source ;)
configAccount("MY_FB_REGISTERED_MAIL", "MY_FB_PASSWORD")# or by SMS with
configAccountSms(MY_PHONE_NUM) # configAccountSms(543516881918)
```
```{r eval=TRUE}
# Now we can check if it can connect to tinder.
# login() must be executed each time we load Rtinder library.
invisible(login())
# And finally we can start swiping!
mySwipes <- getSwipes()
# mySwipes is a list
fstSwipe <- mySwipes[[1]]
# fstSwipe is a list
names(fstSwipe)
names(fstSwipe$user)
```