Skip to content

felina/felina-js-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

JavaScript client library for the Felina API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published