Skip to content

Selenium Google Calendar Integration is a Java-based project that automates the process of logging into a web portal to retrieve shift information and creates corresponding events in Google Calendar. This project demonstrates the use of Selenium WebDriver for web scraping and the Google Calendar API for calendar event management.

License

Notifications You must be signed in to change notification settings

anjanak13/selenium-calendar-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium with Google Calendar API 🚀

This project demonstrates how to integrate Selenium with Google Calendar API in Java. It is extended for personal use to automate the process of logging into a web portal to acquire upcoming shifts and creating Google Calendar events based on the scraped shift information.

Features

  • Log in to the QSS web portal to acquire upcoming shifts.
  • Scrape information about the shifts and create Google Calendar events using Google APIs.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repository.git
  2. Navigate to the project directory:

    cd your-repository
  3. Install the required dependencies. You can use Maven or Gradle:

    mvn install

    or

    gradle build
  4. Add your credentials.json file to the root directory. You can obtain this file from the Google Developers Console.

  5. Configure your config.properties file with the necessary details like the website URL, username, and password.

Usage

To run the project, execute the main class:

java -cp target/your-project.jar com.yourpackage.CalendarQuickstart

or

gradle clean
gradle build
gradle run

References

Contributing

Feel free to fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Selenium Google Calendar Integration is a Java-based project that automates the process of logging into a web portal to retrieve shift information and creates corresponding events in Google Calendar. This project demonstrates the use of Selenium WebDriver for web scraping and the Google Calendar API for calendar event management.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages