apiverve_leetspeak 1.2.4
apiverve_leetspeak: ^1.2.4 copied to clipboard
Leet Speak translates plain text into leet speak or reverses obfuscated strings back to standard words. Submit any string with an encode or decode mode to receive the converted text and a count of cha [...]
Leet Speak API - Dart/Flutter Client #
Leet Speak translates plain text into leet speak or reverses obfuscated strings back to standard words. Submit any string with an encode or decode mode to receive the converted text and a count of changed characters.
This is the Dart/Flutter client for the Leet Speak API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_leetspeak: ^1.2.4
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage #
import 'package:apiverve_leetspeak/apiverve_leetspeak.dart';
void main() async {
final client = LeetspeakClient('YOUR_API_KEY');
try {
final response = await client.execute({
'text': 'This is a simple piece of text',
'mode': 'encode'
});
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response #
{
"status": "ok",
"error": null,
"data": {
"text": "7h!5 !5 4 5!mp13 p!3c3 0f 73x7",
"mode": "encode",
"changedCharacters": 17
}
}
API Reference #
- API Home: Leet Speak API
- Documentation: docs.apiverve.com/ref/leetspeak
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve