kuzzle 1.0.0-alpha.1 copy "kuzzle: ^1.0.0-alpha.1" to clipboard
kuzzle: ^1.0.0-alpha.1 copied to clipboard

outdated

A library to communicate with kuzzle API

Kuzzle SDK for dart #

Build Status codecov

The kuzzle package provides SDK for kuzzle. It uses WebSocket to do the same.

Getting Started #

Include this in your pubspec.yaml

dependencies:
  kuzzle:
    branch: dev
    git: git://github.com/prijindal/kuzzle_dart.git

Right now i would recommend that this be used directly from the git or a tar package. In the future versioning of pub will be used

Example #

import 'package:kuzzle/kuzzle_dart.dart';

final kuzzle = Kuzzle(
  WebSocketProtocol('127.0.0.1.xip.io'),
  offlineMode: OfflineMode.auto,
);

void main () async {
  // note that we don't need to await connection to be effective
  kuzzle.connect(); 
  
  final result = await kuzzle.server.info();
  print('[result][server][info] $result');
}

view all samples in example/example.dart file

Information #

  • Uses WebSocket to communicate with kuzzle, in the future http might also be used
  • Soon documentation will also be coming
36
likes
0
pub points
67%
popularity

Publisher

verified publisherkuzzle.io

A library to communicate with kuzzle API

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, pedantic, uuid

More

Packages that depend on kuzzle