Acronym Expander API - Dart/Flutter Client

Acronym Expander resolves acronyms and abbreviations into their full meanings, complete with subject categories and definitions. Submit any short term up to 20 characters to get matching expansions and explanations for each domain.

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.2.5

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