Skip to main content

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

Hashtag Generator creates relevant hashtags from any plain text or post caption. Pass in a text snippet to receive an array of suggested social tags, with paid plans able to customize the tag count.

Hashtag Generator API - Dart/Flutter Client #

Hashtag Generator creates relevant hashtags from any plain text or post caption. Pass in a text snippet to receive an array of suggested social tags, with paid plans able to customize the tag count.

pub package License: MIT

This is the Dart/Flutter client for the Hashtag Generator API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_hashtaggenerator: ^1.2.3

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_hashtaggenerator/apiverve_hashtaggenerator.dart';

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

  try {
    final response = await client.execute({
      'text': 'Adventure awaits 🌍✈️ Who\'s ready to embark on a journey of a lifetime? Whether you\'re exploring exotic landscapes, immersing yourself in vibrant cultures, or simply indulging in delicious cuisines, there\'s something magical about travel that fills the soul with joy and wonder. Let\'s wander together and create unforgettable memories! 🌟',
      'count': 5
    });

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

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "count": 5,
    "hashtags": [
      "#adventure",
      "#awaits",
      "#ready",
      "#embark",
      "#journey"
    ],
    "topicHashtags": [
      {
        "hashtag": "#Adventure",
        "phrase": "adventure",
        "relevance": 0.579
      },
      {
        "hashtag": "#Travel",
        "phrase": "travel",
        "relevance": 0.567
      },
      {
        "hashtag": "#Journey",
        "phrase": "journey",
        "relevance": 0.48
      },
      {
        "hashtag": "#ExoticLandscapes",
        "phrase": "exotic landscapes",
        "relevance": 0.436
      },
      {
        "hashtag": "#VibrantCultures",
        "phrase": "vibrant cultures",
        "relevance": 0.314
      }
    ]
  }
}

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

Publisher

unverified uploader

Weekly Downloads

Hashtag Generator creates relevant hashtags from any plain text or post caption. Pass in a text snippet to receive an array of suggested social tags, with paid plans able to customize the tag count.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_hashtaggenerator