Giter Club home page Giter Club logo

kaggle-watcher's Introduction

Kaggle-Watcher

Kaggle Notification System with Kaggle API and Slack API using Google Apps Script

System overview

Slack Notify

Installation

  1. Clone this Repository
  2. Go to your Google Drive and make a new Google Apps Script Project.
  3. Make a new spreadsheet in your Google Drive and make a new Spreadsheet. Name it with the competition name which you want to watch if new kernels appear.
  4. If you have not installed the Google Apps Script Assistant, install it from the chrome application store.
  5. Pull the repository you've cloned using the Google Apps Script Assistant.
  6. Set three hidden properties.You can do this with File > Project Properties > Script Properties using webUI.
  • token: Slack API token. You can get this from here.
  • BASIC_AUTH_ENCODED: Kaggle API basic authentification information.You can get this by running import urllib3; urllib3.util.make_headers(basic_auth="YOUR_KAGGLE_USERNAME:YOUR_KAGGLE_PASSWORD").get("authorization") with Python.YOUR_KAGGLE_USERNAME and YOUR_KAGGLE_PASSWORD is written in the your kaggle.json. Check here if you don't know what kaggle.json is. Note that YOUR_KAGGLE_PASSWORD is not the one you use when you sign in your account.
  • KERNEL_LIST_SHEET_ID: Spreadsheet ID of the Spreadsheet you have made in the step 3.You can get this by checking the URL of the Spreadsheet.The position of the ID in the URL is https://docs.google.com/spreadsheets/d/(HERE).
  1. Install SlackApp Library and GSUnit Library. You can do this from Resources > Libraries. The Library keys are M3W5Ut3Q39AaIwLquryEPMwV62A3znfOO and MIUhnnCDES0N3YHPEWX9DUtkh30YExdAc.
  2. Trigger these code.You can do this from Edit > Current Project Trigger

Happy Kaggling!!!

kaggle-watcher's People

Contributors

currypurin avatar koukyo1994 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.