Skip to main content

apiverve_emojidecorator 1.2.3 copy "apiverve_emojidecorator: ^1.2.3" to clipboard
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.

pub package License: MIT

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 #

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
140
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Emoji Decorator inserts relevant emojis into plain text strings. Submit any sentence or passage to receive the complete string decorated with fitting emojis.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_emojidecorator