Skip to content

Version 1 : An app that collects economic calendar events via APIs, loads them into an embedded Google Calendar, and allows visitors to download/access the public calendar. Version 2: After difficulty finding a free API for an Economic Calendar, the project has pivoted to Earnings Calendar applications.

Notifications You must be signed in to change notification settings

axel-t81/earnings-calendar-to-google-calendar

Repository files navigation

earnings-calendar-to-google-calendar

A Django application that fetches Earnings events from an API and syncs them with Google Calendar.

Features

  • Fetch Earnings events from API
  • Google Calendar integration
  • Customizable event selection
  • Automated calendar syncing

Requirements

  • Python 3.10
  • Django 4.2.7
  • Other dependencies listed in requirements.txt

Setup

  1. Clone the repository:
git clone https://github.com/yourusername/earnings-calendar-to-google-calendar.git
cd earnings-calendar-to-google-calendar
  1. Create and activate a virtual environment:
python -m venv yourenvname
source yourenvname/bin/activate  # On Windows use: yourenvname\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file with the following variables:
DJANGO_SECRET_KEY=your-secret-key
DJANGO_DEBUG=True
ALPHA_VANTAGE_API_KEY=your-alpha-vantage-api-key
GOOGLE_OAUTH_CLIENT_ID=your-google-oauth-client-id
GOOGLE_OAUTH_CLIENT_SECRET=your-google-oauth-client-secret
  1. Run migrations:
python manage.py migrate
  1. Create a superuser:
python manage.py createsuperuser
  1. Run the development server:
python manage.py runserver

Usage

  1. Visit Site
  2. Fetch the earnings events you want to track
  3. Sync events to your Google Calendar

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

Version 1 : An app that collects economic calendar events via APIs, loads them into an embedded Google Calendar, and allows visitors to download/access the public calendar. Version 2: After difficulty finding a free API for an Economic Calendar, the project has pivoted to Earnings Calendar applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published