Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Doarakko/kaggle-calendar

Repository files navigation

Kaggle calendar using Kaggle API and Google Calendar API.

sample

Requirements

  • Python 3.6
  • pipenv
  • Kaggle API
  • Google Calendar API

Usage

  1. Clone code
$ git clone https://github.com/Doarakko/kaggle-calendar
$ cd kaggle-calendar
  1. Install Python library
$ pipnv shell
  1. Enter your environment variables
  • .env
KAGGLE_KEY = abcdef
KAGGLE_USERNAME = john
GOOGLE_APPLICATION_CREDENTIALS = {
    "access_token": "gaerigae"
    ...
}
$ mv .env.example .env
  • calendar.json

Enter your calendar id

{
    "all": {
        "id": "abcedfg@group.calendar.google.com",
        "name": "all",
        "data": null,
        "colorId_1": "1",
        "colorId_2": "2"
    },
    ...
  1. Run on local
$ python main.py
$ open public/index.html

Contribution

Welcome issue and pull request.

License

MIT

Author

Doarakko