Skip to content

jplattel/PyJawbone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

PyJawbone

A simple wrapper for the Jawbone UP API.

Usage

Import the library:

from jawbone import JawboneAPI

Assign it to an object:

j = JawboneAPI()

Generated an authentication URL with the scope:

auth_url = j.getAuth(scope) 

Open auth URL and sign it, you will be redirected and given a auth code.

access_token = j.getAccessToken(code)

Use the access token

j.apiCall(accesspoint, endpoint, other_params_as_a_dict)

If the response is succesfull, JSON will be return, otherwise it will return the error.

Dependencies

This library has one dependency:

requests

About

A python wrapper for the Jawbone UP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages