openthesaurus 0.0.6 copy "openthesaurus: ^0.0.6" to clipboard
openthesaurus: ^0.0.6 copied to clipboard

A small dart library for querying synonyms from openthesaurus.de

example/main.dart

// Copyright (c) 2023, hayribakici. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'package:openthesaurus/openthesaurus.dart';

void main(List<String> args) async {
  var ot = OpenThesaurus.create();
  var response = await ot.get('Hand');
  for (var syn in response) {
    print(syn.terms?.map((e) => e.term).toList());
  }
}
0
likes
150
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

A small dart library for querying synonyms from openthesaurus.de

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http, json_annotation

More

Packages that depend on openthesaurus