felina-js

4.0.3 • Public • Published

Felina JS

JavaScript client library for the Felina API

Install

bower install --save felina-js

Then include jQuery and dist/main.js in your page however you like.

Use

Initialise the library:

var api = fl_api();

or pass a URL to use your own hosted copy of the server instead of the main one:

var url = 'http://localhost:5000/'; // Remember your trailing slash
var api = fl_api(url);

then start calling methods:

api.loginCheck(function(data) {
    console.log(data.user.name);
});

For a full list of available methods see the server wiki.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i felina-js

Weekly Downloads

38

Version

4.0.3

License

MIT

Last publish

Collaborators

  • lavelle