apiverve_emojidecorator 1.2.3
apiverve_emojidecorator: ^1.2.3 copied to clipboard
Emoji Decorator inserts relevant emojis into plain text strings. Submit any sentence or passage to receive the complete string decorated with fitting emojis.
Emoji Decorator API - Dart/Flutter Client #
Emoji Decorator inserts relevant emojis into plain text strings. Submit any sentence or passage to receive the complete string decorated with fitting emojis.
This is the Dart/Flutter client for the Emoji Decorator API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_emojidecorator: ^1.2.3
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage #
import 'package:apiverve_emojidecorator/apiverve_emojidecorator.dart';
void main() async {
final client = EmojidecoratorClient('YOUR_API_KEY');
try {
final response = await client.execute({
'text': 'I am so excited to go to the lake and swim'
});
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response #
{
"status": "ok",
"error": null,
"data": {
"decorated": "I am so excited π₯ to go πππ½ to the lake π€π»πΊπΈ and swim π"
}
}
API Reference #
- API Home: Emoji Decorator API
- Documentation: docs.apiverve.com/ref/emojidecorator
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve