exchangerateapi_dart 0.1.0 copy "exchangerateapi_dart: ^0.1.0" to clipboard
exchangerateapi_dart: ^0.1.0 copied to clipboard

Dart client for exchangerateapi.net with latest and historical endpoints.

exchangerateapi_dart #

Dart client for exchangerateapi.net with two simple endpoints.

Installation #

Add to your pubspec.yaml:

dependencies:
  exchangerateapi_dart: ^0.1.0

Quick start #

import 'package:exchangerateapi_dart/exchangerateapi_dart.dart';

final client = ExchangeRateApiClient(apiKey: const String.fromEnvironment('EXCHANGERATEAPI_KEY'));
final latest = await client.latest(base: 'USD');

Usage #

  • Latest with optional symbols filter
  • Historical by date and base

Free usage #

A generous free tier is available for testing and light workloads. See https://exchangerateapi.net for current limits.

License #

MIT

0
likes
135
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart client for exchangerateapi.net with latest and historical endpoints.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

http

More

Packages that depend on exchangerateapi_dart