Acronym Expander API - Dart/Flutter Client

Acronym Expander is an AI-powered tool for expanding acronyms to their full meanings. It uses a dictionary of common acronyms and AI for unknown ones, with optional context for better accuracy.

pub package License: MIT

This is the Dart/Flutter client for the Acronym Expander API.

Installation

Add this to your pubspec.yaml:

dependencies:
  apiverve_acronymexpander: ^1.1.14

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage

import 'package:apiverve_acronymexpander/apiverve_acronymexpander.dart';

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

  try {
    final response = await client.execute({
      'acronym': 'API',
      'context': 'General'
    });

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

Response

{
  "status": "ok",
  "error": null,
  "data": {
    "acronym": "API",
    "expansions": [
      {
        "expansion": "Application Programming Interface",
        "description": "A set of protocols for building software",
        "category": "technology"
      }
    ],
    "most_common": {
      "expansion": "Application Programming Interface",
      "description": "A set of protocols for building software",
      "category": "technology"
    },
    "source": "dictionary",
    "context_provided": "software"
  }
}

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_acronymexpander
Acronym Expander API client for Dart/Flutter