Skip to main content

apiverve_base64 1.2.3 copy "apiverve_base64: ^1.2.3" to clipboard
apiverve_base64: ^1.2.3 copied to clipboard

Base64 Encoder/Decoder encodes plain text into Base64 and decodes encoded strings back to readable characters. Submit any string with an encode or decode action to receive the converted output, the or [...]

Base64 Encoder/Decoder API - Dart/Flutter Client #

Base64 Encoder/Decoder encodes plain text into Base64 and decodes encoded strings back to readable characters. Submit any string with an encode or decode action to receive the converted output, the original input, and character length.

pub package License: MIT

This is the Dart/Flutter client for the Base64 Encoder/Decoder API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_base64: ^1.2.3

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_base64/apiverve_base64.dart';

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

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

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

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "action": "encode",
    "original": "Hello World",
    "encoded": "SGVsbG8gV29ybGQ=",
    "length": 16
  }
}

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
130
points
155
downloads

Documentation

API reference

Publisher

verified publisherapiverve.com

Weekly Downloads

Base64 Encoder/Decoder encodes plain text into Base64 and decodes encoded strings back to readable characters. Submit any string with an encode or decode action to receive the converted output, the original input, and character length.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_base64