datamuse 0.3.0 copy "datamuse: ^0.3.0" to clipboard
datamuse: ^0.3.0 copied to clipboard

Datamuse API client for Dart/Flutter provides word-finding query engine.

example/lib/main.dart

// ignore_for_file: avoid_print

import 'package:datamuse/datamuse.dart';

Future<void> main() async {
  final client = Datamuse();

  final suggestResult = await client.suggest('duc');
  print('[main] $suggestResult');

  final resultList = await client.query(
    meansLike: 'tape',
    metadata: [
      MetadataFlag.frequency,
      MetadataFlag.syllableCount,
      MetadataFlag.definitions,
    ],
    internationalPronunciation: true,
  );

  print(resultList.first);
}
3
likes
150
pub points
25%
popularity

Publisher

verified publishervojtech.net

Datamuse API client for Dart/Flutter provides word-finding query engine.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, json_annotation

More

Packages that depend on datamuse