apiverve_anagramdetector 1.2.0 copy "apiverve_anagramdetector: ^1.2.0" to clipboard
apiverve_anagramdetector: ^1.2.0 copied to clipboard

Anagram Detector is a tool for checking if two words or phrases are anagrams of each other. It provides character frequency analysis and similarity scoring.

Anagram Detector API - Dart/Flutter Client #

Anagram Detector is a tool for checking if two words or phrases are anagrams of each other. It provides character frequency analysis and similarity scoring.

pub package License: MIT

This is the Dart/Flutter client for the Anagram Detector API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_anagramdetector: ^1.2.0

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_anagramdetector/apiverve_anagramdetector.dart';

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

  try {
    final response = await client.execute({
      'text1': 'listen',
      'text2': 'silent',
      'ignorecase': true,
      'ignorespaces': true
    });

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

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "text1": "listen",
    "text2": "silent",
    "is_anagram": true,
    "cleaned_text1": "listen",
    "cleaned_text2": "silent",
    "sorted_text1": "eilnst",
    "sorted_text2": "eilnst",
    "length_text1": 6,
    "length_text2": 6,
    "similarity_percentage": 100
  }
}

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
130
points
156
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Anagram Detector is a tool for checking if two words or phrases are anagrams of each other. It provides character frequency analysis and similarity scoring.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_anagramdetector