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

A clean and simple interface to interact with owlbot.info, dictionary API. Returns response in nice formatted dart objects

OwlBot #

Clean, easy interface with owlbot.info dictionary API

Pub Package Publish

Usage #

To use this plugin add owlbot_dart as a dependency in your pubspec.yaml file.

Example #

void main() async {
    /// Instiantiate the `OwlBot` with [token] which you can get for free from https://owlbot.info
    final OwlBot owlBot = OwlBot(token: "API_TOKEN");

    /// Using the [define] function, get the definitions of the provided [word]
    /// [OwlBotResponse] object is returned
    final OwlBotResponse res = await owlBot.define(word: "owl");
    print("Pronounciation: ${res.pronunciation}");
    res.definitions.forEach((def) {
        print(def.definition);
    });
}
copied to clipboard

Developed & Maintained by #

Damodar Lohani

9
likes
140
points
59
downloads

Publisher

verified publisherdlohani.com.np

Weekly Downloads

2024.09.19 - 2025.04.03

A clean and simple interface to interact with owlbot.info, dictionary API. Returns response in nice formatted dart objects

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on owlbot_dart