krok 0.0.1 krok: ^0.0.1 copied to clipboard
Kraken API plus command line client for Dart.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add krok
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
krok: ^0.0.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:krok/api/api.dart';
import 'package:krok/api/config.dart';
import 'package:krok/api/exception.dart';
import 'package:krok/api/kraken_time.dart';
import 'package:krok/api/request.dart';
import 'package:krok/api/types.dart';
import 'package:krok/cli/cli.dart';
import 'package:krok/cli/command/add_order.dart';
import 'package:krok/cli/command/asset_pairs.dart';
import 'package:krok/cli/command/assets.dart';
import 'package:krok/cli/command/balance.dart';
import 'package:krok/cli/command/cancel.dart';
import 'package:krok/cli/command/edit_order.dart';
import 'package:krok/cli/command/mixin/api_call.dart';
import 'package:krok/cli/command/mixin/auto_cache.dart';
import 'package:krok/cli/command/mixin/kraken_time.dart';
import 'package:krok/cli/command/mixin/orders.dart';
import 'package:krok/cli/command/mixin/pair.dart';
import 'package:krok/cli/command/mixin/tabular.dart';
import 'package:krok/cli/command/ohlc.dart';
import 'package:krok/cli/command/orders.dart';
import 'package:krok/cli/command/spread.dart';
import 'package:krok/cli/command/system_status.dart';
import 'package:krok/cli/command/ticker.dart';
import 'package:krok/cli/command/tradebalance.dart';
import 'package:krok/cli/command/tradevolume.dart';
import 'package:krok/cli/options.dart';
import 'package:krok/cli/output.dart';
import 'package:krok/common/extensions.dart';
import 'package:krok/common/log.dart';