Word Pronunciation API - Dart/Flutter Client

Word Pronunciation is a pronunciation API that retrieves the phonetic pronunciation of any English word in ARPAbet format. Pass a word to receive its phonetic transcription for speech synthesis, dictionaries, or language tools.

pub package License: MIT

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

Installation

Add this to your pubspec.yaml:

dependencies:
  apiverve_wordpronunciation: ^1.2.6

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage

import 'package:apiverve_wordpronunciation/apiverve_wordpronunciation.dart';

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

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

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

Response

{
  "status": "ok",
  "error": null,
  "data": {
    "word": "hello",
    "pronounciation": "HH AH0 L OW1"
  }
}

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

Libraries

apiverve_wordpronunciation
Word Pronunciation API client for Dart/Flutter