No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.rubocop.yml
.ruby-version
01a.rb
02b.rb
03c.rb
Gemfile
Gemfile.lock
LICENSE
README.md
daily.rb
monitor.rb

README.md

hralert

setup

fitbit application

sample code

get access_token and refresh_token

  • create ahrorized_url
bundle exec ruby 01a.rb
  • get authorized_code on browser
  • get access_token/refresh_token
bundle exec ruby 02b.rb AUTHORIZED_CODE
  • get heartrate.json use refresh_token
bundle exec ruby 03c.rb REFRESH_TOKEN