apiverve_antonym 1.1.14 copy "apiverve_antonym: ^1.1.14" to clipboard
apiverve_antonym: ^1.1.14 copied to clipboard

Antonym is a simple tool for getting the antonyms of a word. It returns a list of antonyms for the given word.

Antonym Finder API - Dart/Flutter Client #

Antonym is a simple tool for getting the antonyms of a word. It returns a list of antonyms for the given word.

pub package License: MIT

This is the Dart/Flutter client for the Antonym Finder API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_antonym: ^1.1.14

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_antonym/apiverve_antonym.dart';

void main() async {
  final client = AntonymClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'word': 'happy'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "word": "happy",
    "antonyms": [
      "sad",
      "unhappy",
      "miserable",
      "depressed",
      "gloomy"
    ]
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
140
points
134
downloads

Publisher

unverified uploader

Weekly Downloads

Antonym is a simple tool for getting the antonyms of a word. It returns a list of antonyms for the given word.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_antonym