apiverve_base64 1.2.0
apiverve_base64: ^1.2.0 copied to clipboard
Base64 Encoder/Decoder is a simple tool for encoding and decoding Base64 strings. It supports both encoding text to Base64 and decoding Base64 back to text.
Base64 Encoder/Decoder API - Dart/Flutter Client #
Base64 Encoder/Decoder is a simple tool for encoding and decoding Base64 strings. It supports both encoding text to Base64 and decoding Base64 back to text.
This is the Dart/Flutter client for the Base64 Encoder/Decoder API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_base64: ^1.2.0
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 #
- API Home: Base64 Encoder/Decoder API
- Documentation: docs.apiverve.com/ref/base64
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve