Giter Club home page Giter Club logo

attendancereport's Introduction

AttendanceReport

Each semester, Chinese Club must determine which club members have attended the three meetings required to maintain member status. Each meeting's attendance is tracked in Google Sheets located in a Google Drive folder.

Built with Maven, this Java project uses both the Google Drive and Google Sheets API to first get all the file IDs of the Google Sheets from the folder and then individually go into each sheets file and parse the member's names. From there, it stores each member in a HashMap, with their values corresponding to how many meetings they've attended. Afterwards, it tallies which members have attended the minimum requirement and prints their names into a text file.

Usage

Run the .jar file. It will first ask you to sign into the Chinese Club Gmail account and request authorization to access the Google Drive. Once authorized, the program will create a new text file named "Attendance.txt" in the parent directory containing a list of all the members who've attended at least three meetings. In addition, a tokens folders will also be created; this will allow you to reuse this program without needing to re-log into the Chinese Club Gmail account.

Cloning Repository

To run this project locally, you will need to:

  1. Log into the Chinese Club Google account on Google Cloud Platforms.
  2. Open the AttendanceTally project -> Expand in upper-left corner -> APIs & Services -> Credentials -> OAuth 2.0 Client IDs -> download JSON.
  3. Create a new resources folder in project main folder -> move JSON into folder.
  4. Upon first running, it will ask you to log in to the Chinese Club account and allow it to use the APIs. Agree to everything and it will run in your IDE.

attendancereport's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.