Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Ruby API client for the Jawbone UP
Branch: master

Merge pull request #1 from RyanFrantz/master

Added functions to pull the sleep detail metadata and sleep snapshots fo...
latest commit 6fec67a72d
@aaronpk authored

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.