bity 0.2.4 copy "bity: ^0.2.4" to clipboard
bity: ^0.2.4 copied to clipboard

outdated

Minimalistic library for communicating with the Bity API v2.

example/main.dart

import 'package:bity/bity.dart';

void main() async {
  var client = Client('https://bity.com/');
  var estimate = await client.estimate(
      inputCurrency: "BTC", inputAmount: 1, outputCurrency: "CHF").timeout(const Duration(seconds: 2));
  print('1 BTC costs $estimate CHF');

  var orders = await client.getOrders();
  print('Orders: $orders');
  client.close();
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Minimalistic library for communicating with the Bity API v2.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http, iban

More

Packages that depend on bity