PHPackages                             n3xtchen/jawbone - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. n3xtchen/jawbone

ActiveLibrary[API Development](/categories/api)

n3xtchen/jawbone
================

PHP Jawbone Up Api

3362PHP

Since Jul 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/n3xtchen/JawboneUp-PHP)[ Packagist](https://packagist.org/packages/n3xtchen/jawbone)[ RSS](/packages/n3xtchen-jawbone/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

JawboneUp-PHP
=============

[](#jawboneup-php)

Jawbone UP API PHP Library

API Version:v.1.1(Official)

If you would like to contribute to this project in any way, including to update it to support API v1.1, please send me a pull request!

Official UP API: [jawbone.com/up/developer](jawbone.com/up/developer)

REQUIREMENT
-----------

[](#requirement)

PHP VERSION: `>=5.4`

Installation
------------

[](#installation)

1. Create a new file called `composer.json` and paste the following into it:

    ```
    {
    	"require": {
       		"n3xtchen/jawbone": "0.1.0.x-dev"
    	}
    }

    ```

    If you already have a `composer.json` file, just add this line to it.

    You can research the component names and versions at [packagist.org](packagist.org).
2. [Install composer](http://getcomposer.org/download/) if you don't already have it present on your system:
3. Download the vendor libraries and generate the vendor/autoload.php file:

    ```
    $ php composer.phar install

    ```

Documentation
-------------

[](#documentation)

An access\_token attribute is required in the options object! See below for an example of how this could be done. This library does not assist in getting an access\_token through OAuth, but once you get the token, it will apparently last for a year.

A app\_secret attribute is required if you would like to use `refreshToken` to get new refresh tokens. It is not required otherwise.

```
