A Django application that fetches Earnings events from an API and syncs them with Google Calendar.
- MOVE THESE NOTES TO A BETTER, DEDICATED TRACKER.
- Need to add Contact Form
- Need to fix off-by-one date error
- Need to fix Download .ics UI
- Need to rearrange columns
- Need to add disclaimers and issues with final date variability
- Fetch Earnings events from API
- Google Calendar integration
- Customizable event selection
- Automated calendar syncing
- Python 3.10
- Django 4.2.7
- Other dependencies listed in requirements.txt
- Clone the repository:
git clone https://github.com/yourusername/earnings-calendar-to-google-calendar.git
cd earnings-calendar-to-google-calendar- Create and activate a virtual environment:
python -m venv yourenvname
source yourenvname/bin/activate # On Windows use: yourenvname\Scripts\activate- Install dependencies:
pip install -r requirements.txt- 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
- Run migrations:
python manage.py migrate- Create a superuser:
python manage.py createsuperuser- Run the development server:
python manage.py runserver- Visit Site
- Fetch the earnings events you want to track
- Sync events to your Google Calendar
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.