Giter VIP home page Giter VIP logo

splatnet2statink-heroku's Introduction

splatnet2statink-heroku

概要

heroku上でsplatnet2statinkを定期実行してSplatoon 2の戦績をstat.inkへ自動送信します

特徴

  • ✅ 無料
  • ✅ 完全自動

herokuについて

  • herokuとは?を参照
  • Freeプランでは小さなアプリケーションをFree Dyno Hoursの間使用可能
    • splatnet2statink-herokuを動かしているだけであればFree Dyno Hoursを超えないはず

splatnet2statinkやstat.inkについて

使用方法

splatnet2statinkに必要な情報を取得する

  • Setup instructionsを参考に、一度ローカルでsplatnet2statinkを動かす
  • config.txt が出力されるので、その中の api_key , cookie , session_token の内容を控えておく

herokuを使用する

  • このリポジトリをForkする
  • herokuアカウントを作成する
  • Create new appから名前を付けてherokuアプリを作成する
  • Connect to GitHub から先程Forkしたリポジトリを指定する
  • Settings タブから
    • Config Vars に先程控えておいた3つの内容をそれぞれ API_KEY , COOKIE , SESSION_TOKEN として登録する
    • Buildpackshttps://github.com/grauwoelfchen/heroku-buildpack-gettext.git を追加する
  • Resources タブから
    • Find more add-ons より Heroku Scheduler を探して追加する
  • Heroku Scheduler の設定から
    • ScheduleEvery 10 minutes を指定
    • Run Command./main を指定

splatnet2statink-heroku's People

Contributors

proshunsuke avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

0x1f5

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.