ASCII85 Encoder API - Dart/Flutter Client

ASCII85 Encoder encodes text into Base85 strings or decodes existing ASCII85 payloads back to plain text. Each request returns the converted output with original and processed character counts, while paid plans add custom formats and compression ratios.

pub package License: MIT

This is the Dart/Flutter client for the ASCII85 Encoder API.

Installation

Add this to your pubspec.yaml:

dependencies:
  apiverve_ascii85encoder: ^1.2.4

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage

import 'package:apiverve_ascii85encoder/apiverve_ascii85encoder.dart';

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

  try {
    final response = await client.execute({
      'text': 'Hello World',
      'action': 'encode',
      'format': 'standard'
    });

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

Response

{
  "status": "ok",
  "error": null,
  "data": {
    "original_text": "Hello World",
    "encoded": "87cURD]i,\"Ebo7",
    "format": "standard",
    "original_length": 11,
    "encoded_length": 14,
    "compression_ratio": "127.27%"
  }
}

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_ascii85encoder
ASCII85 Encoder API client for Dart/Flutter