Skip to content
Ruby API client for the Jawbone UP
Latest commit 6fec67a Sep 14, 2013 @aaronpk Merge pull request #1 from RyanFrantz/master
Added functions to pull the sleep detail metadata and sleep snapshots fo...
Failed to load latest commit information.
LICENSE.txt Initial version of ruby client for the Jawbone API Dec 24, 2011

Jawbone UP API

This gem can access the (unofficial) Jawbone UP API. Currently login and a few other methods are implemented, and you can always make raw API requests as well.


gem install jawbone-up

Basic Usage

require 'jawbone-up'

up =
up.signin "", "passw0rd"

sleep_info = up.get_sleep_summary
sleep_info['items'].each do |item|
  date = item['time_created']
  puts date.to_s + " " + item['title']

You can also create a session from a stored token:

require 'jawbone-up'

up = :auth => {
                              :xid => 'xid-from-previous-session', 
                              :token => 'token-from-previous-session'

More Info

I will eventually be implementing more API methods as session functions. In the mean time you can make raw API requests with the "get" and "post" methods.

See for full API documentation

Something went wrong with that request. Please try again.