Skip to content

littlebits/cloud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cloud-client-api

Bootstrap the littleBits Cloud APIs into a client app

Installation

component install littlebits/cloud-api

API

.bootstrap()
bootstrap :: Options, (err, api_http ->) ->
Options

A configuration object that is passed through to:

Callback :: err, api_http ->

A callback that is executed once oauth2-implicit has completed. Behind the scenes api_http is loaded with the credentials.accessToken attained by oauth2-implicit.

======

.api_http()

Is cloud-client-api-http. For docs refer to https://github.com/littlebits/cloud-client-api-http.

Normally you will acquire api_http from .bootstrap since automatic authorization setup is very convenient. There is no known pattern/use-case for accessing api_http directly, but it is there for whe you discover that reason.

About

Bootstrap the littleBits Cloud APIs into a client app

Resources

Stars

Watchers

Forks

Packages

No packages published