Skip to main content

apiverve_randomwords 1.2.7 copy "apiverve_randomwords: ^1.2.7" to clipboard
apiverve_randomwords: ^1.2.7 copied to clipboard

Random Word is a random word generator API that selects a random English word from the dictionary on each request. Paid plans add dictionary definitions and ARPABET phonetic pronunciation.

Random Word API - Dart/Flutter Client #

Random Word is a random word generator API that selects a random English word from the dictionary on each request. Paid plans add dictionary definitions and ARPABET phonetic pronunciation.

pub package License: MIT

This is the Dart/Flutter client for the Random Word API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_randomwords: ^1.2.7

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_randomwords/apiverve_randomwords.dart';

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

  try {
    final response = await client.execute();
    
    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "word": "persevering",
    "definitions": [
      "Characterized by perseverance; persistent. -- Per`se*ver\"ing*ly, adv."
    ],
    "pronunciation": "P ER0 S AH0 V IH1 R IH0 NG"
  }
}

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
120
points
304
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Random Word is a random word generator API that selects a random English word from the dictionary on each request. Paid plans add dictionary definitions and ARPABET phonetic pronunciation.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_randomwords