Skip to content

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

Notifications You must be signed in to change notification settings

proshunsuke/splatnet2statink-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 を指定

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published