1.3.2 • Published 10 years ago

built v1.3.2

Weekly downloads
46
License
-
Repository
-
Last release
10 years ago

Built.io JS SDK

© Raw Engineering, Inc (www.raweng.com) 2013, Licensed under the MIT-LICENSE

A Javascript SDK for built.io service for node.js (0.6.x and up). Hides most of the complexity of creating, maintaining built.io objects and sessions.

For more information visit http://built.io and http://manage.built.io .

Features

  • Works in Browsers as well as in Servers (NodeJS)
  • Simple service wrapper that allows you to easily put together all built.io REST API libraries
  • Easy to create Application User
  • User management
  • Create objects in built.io applications
  • Update objects in buil.io applications
  • Delete Objects in built.io applications
  • File management
  • Highly customise query to built.io
  • BuiltModel to Backbone.Model conversion support
  • Model binding for each built.io objects
  • Promise on all REST calls

Example usage

var Built = require('built');
var application_api_key = 'YOUR APPLICATION API KEY' ;
var application_uid = 'YOUR APPLICATION UID' ;

Built.initialize(application_api_key, application_uid); // init built SDK using application_api_key and application_uid


var query = new Built.Query('employee'/*class_uid*/); // create new built Query Object
query.greaterThan('age', 30); // add query 
query.exec(/* execute query */)
.success(function(data){
	console.log(data);
})
.error(function(err){
	console.log(err);
});


var employee = new Built.Object('employee'/*class_uid*/); 
employee.set({ /* set attributes in newly created object */
	name:'jack',
	age:32
});
employee.set('gender', 'male'); // set attribute using key, value type
employee.save()
.success(function(data){
	/* object saved */
})
.error(function(err){
	/* oops error */
});
npm install built --save
1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.9

10 years ago

1.2.8

10 years ago

1.2.7

10 years ago

1.2.6

10 years ago

1.2.5

10 years ago

1.2.4

10 years ago

1.2.3

10 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.9

10 years ago

1.1.8

10 years ago

1.1.7

10 years ago

1.1.5

11 years ago

1.1.4

11 years ago

1.1.3

11 years ago

1.1.2

11 years ago

1.1.0

11 years ago

1.0.9

11 years ago

1.0.8

11 years ago

1.0.6

11 years ago

1.0.0

11 years ago