Skip to content

Instantly share code, notes, and snippets.

@gnutix
Created September 21, 2020 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnutix/c56cb70673a880816d20a4bc72c40761 to your computer and use it in GitHub Desktop.
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
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