0.2.2 • Published 10 years ago

flowdata v0.2.2

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
10 years ago

Flowdata

A simple javascript client for easy composition of OData queries

Installation

In the browser

bower install flowdata

or if you're working in node

npm install flowdata

Usage

In the browser a global 'flowdata' object will be created

// ** require for node only
var flowdata = require('flowdata');
// **

var serviceUrl = 'http://services.odata.org/V4/(S(xloriihm0m3y04qekvvc3xg3))/TripPinServiceRW';

// optionally set a logLevel
flowdata.logging.logLevel = flowdata.logging.logLevels.debug;

// initiate a new OData service
flowdata.init(serviceUrl).then(function (service) {
  console.log(service.serviceUrl);
  console.dir(service.metadata);
}).catch(function(err) {
  console.dir(err);
});
0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.10

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago