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

outdated

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

example/lib/main.dart

import 'package:datamuse/datamuse.dart';

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

  // client.suggest('duc').then((value) {
  // print(value);
  // });

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

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

Publisher

verified publishervojtech.net

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

built_collection, built_value, dio, json_annotation, meta, pedantic

More

Packages that depend on datamuse