flosight-ui
Version:
An open-source frontend for the Flosight API. The Flosight API provides you with a convenient, powerful and simple way to query and broadcast data on the florincoin network and build your own services with it.
18 lines (16 loc) • 403 B
JavaScript
;
angular.module('flosight.status')
.factory('Status',
function($resource, Api) {
return $resource(Api.apiPrefix + '/status', {
q: '@q'
});
})
.factory('Sync',
function($resource, Api) {
return $resource(Api.apiPrefix + '/sync');
})
.factory('PeerSync',
function($resource, Api) {
return $resource(Api.apiPrefix + '/peer');
});