Coder Social home page Coder Social logo

manage-google-contacts's Introduction

Contacts Manager for Google Contacts

This Java program is designed to manage contacts on Google. It reads a file called "contacts.txt", which should be located in the same folder as the .jar file. Your application should be named "ContactList". You should have a credentials.json file in the same folder as the .jar file.

Requirements

This program requires Java to be installed on your system. You can check if Java is installed by running the following command in your terminal:

java -version

If Java is not installed, you can download it from the following link: https://www.java.com/en/download/

Also, you need to create a Google account and enable the People API. You can find more information on how to do this here: https://developers.google.com/people

Usage

To use this program, follow these steps:

  1. Ensure that the contacts.txt file is located in the same folder as the .jar file.
  2. Open your terminal or command prompt and navigate to the folder containing the .jar file.
  3. Run the following command:
java -jar contacts.jar [argument]

Replace [argument] with one of the following options:

  • all - first deletes all contacts from the Google account, then creates all contacts from the contacts.txt file
  • delete - deletes all contacts from the contacts.txt file
  • create - creates all contacts from the contacts.txt file
  • duplicates - removes duplicate contacts from the contacts.txt file
  • count - counts the number of contacts

If no argument is provided, the program will update the contact list by reading the contacts.txt file.

File Format

Name;OIB;Email;phoneNumber;Adress;CompanyName;JobDescription

Logging

Logs are saved in logs.txt file that will bre created in the same folder as the .jar file.

manage-google-contacts's People

Contributors

davivek avatar

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.