frankfurter 2.0.0 copy "frankfurter: ^2.0.0" to clipboard
frankfurter: ^2.0.0 copied to clipboard

A dart library to use the fankfurter.app api which provides currency exchange rates

example/example.dart

import 'package:frankfurter/frankfurter.dart';

void main() async {
  final frankfurter = Frankfurter();

  final latest = await frankfurter.latest(from: Currency('EUR'));
  latest.forEach(print);

  final rate = await frankfurter.getRate(
    from: Currency('EUR'),
    to: Currency('GBP'),
  );
  print('Single conversion: $rate');
}
1
likes
130
pub points
43%
popularity

Publisher

unverified uploader

A dart library to use the fankfurter.app api which provides currency exchange rates

Repository (GitLab)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http, logging, meta

More

Packages that depend on frankfurter