Skip to content

This code calculates and displays the total expenses of group members from a Google Pay JSON file. It reads the group expense data, calculates the total expenses for each member across different groups, and prints the results. It's helpful for managing shared expenses in a group.

Notifications You must be signed in to change notification settings

Arvinth-Krishna/gpay_group_expense_calculator

Repository files navigation

Gpay Group Expense Calculator

GPay Expense Calculator Logo

This code calculates and displays the total expenses of group members from a Google Pay JSON file. It reads the group expense data, calculates the total expenses for each member across different groups, and prints the results. It's helpful for managing shared expenses in a group.

How to run the group expense calculator script?

  • Firstly, make sure that you have Python installed on your system. If you don't have Python, you can download it from the official website of Python.

  • Next, go to the GitHub repository for the expense calculator script using the link: https://github.com/Arvinth-Krishna/gpay_group_expense_calculator

  • On the repository's homepage, click on the "Code" button and then click on "Download ZIP". This will download the repository as a ZIP file to your system.

  • Extract the ZIP file to a location of your choice.

  • Follow the instructions given in the "How to get Google Pay transaction JSON data" section of the repository's README file to download your Google Pay transaction details.

  • In the downloaded repository's folder, you will find a file called "group_expense.json". Replace this file with the JSON file that you downloaded in the previous step.

  • Once you have downloaded your transaction details replaced, navigate to the downloaded repository's folder on your system using the command prompt or terminal. For example, if you have extracted the ZIP file to your Downloads folder on a Windows system, you can navigate to the repository's folder using the following command:

    cd C:\Users\username\Downloads\gpay_group_expense_calculator-main\gpay_group_expense_calculator-main
    Make sure to replace "username" with your actual username on the system.
    
  • Finally, run the script by typing the following command in the command prompt or terminal:

    python gpay_group_expense_calculator.py
    

    This will run the expense calculator script and provide you with the output.

Output Screenshot:

image

How to get Google Pay Transaction Json Data?

or

The steps to export Google Pay transaction data:

  • Go to "Manage your Google Account" settings. You can usually access this by clicking on your profile picture or initials in the top right corner of a Google service (such as Gmail or Google Drive) and selecting "Manage your Google Account" from the drop-down menu.

  • In the Google Account settings page, select "Data & privacy" from the left-hand side menu.

  • Under "Download, delete, or make a plan for your data", click on "Manage your data".

  • In the "Content saved in Google services" section, click on "Deselect All".

  • Scroll down and find "Google Pay" in the list of services, and then select the checkbox next to it to include Google Pay data in your export.

  • Optionally, you can click on "All Google data included" to customize the specific types of data you want to export from Google Pay, such as transaction history, payment methods, or saved cards.

  • Click on "Next" to proceed with the export process.

  • Choose the export file format, frequency, and delivery method for your Google Pay data export. You can select options such as ZIP, TGZ, or export to Google Drive, Dropbox, or OneDrive.

  • Click on "Create export" to initiate the export process.

  • Follow any additional prompts or instructions provided by Google to confirm and complete the export process.

  • Once the export is complete, you will receive a notification or an email with a link to download your Google Pay transaction data in the chosen file format and delivery method.

Donate

If you found this project helpful and want to thank me, consider buying me a cup of ☕

❤️ Found this project helpful?

If you found this project helpful, please consider giving it a ⭐ on Github and sharing it with your friends via social media.

About

This code calculates and displays the total expenses of group members from a Google Pay JSON file. It reads the group expense data, calculates the total expenses for each member across different groups, and prints the results. It's helpful for managing shared expenses in a group.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages