Created
September 21, 2020 12:59
-
-
Save gnutix/c56cb70673a880816d20a4bc72c40761 to your computer and use it in GitHub Desktop.
Extracting the totals in your Tinder's profile data (number of likes, passes, messages sent, received, etc) from https://account.gotinder.com/data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in "app_opens" "swipes_likes" "swipes_passes" "matches" "messages_sent" "messages_received"; \ | |
do jq --arg DATA "$i" -n 'reduce (inputs.Usage[$DATA] | to_entries[]) as {$key, $value} ({}; .[$DATA] += $value)' data.json; \ | |
done | |
# Outputs : | |
# { | |
# "app_opens": ... | |
# } | |
# { | |
# "swipes_likes": ... | |
# } | |
# { | |
# "swipes_passes": ... | |
# } | |
# { | |
# "matches": ... | |
# } | |
# { | |
# "messages_sent": ... | |
# } | |
# { | |
# "messages_received": ... | |
# } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment