Skip to main content

apiverve_usernamegenerator 1.2.6 copy "apiverve_usernamegenerator: ^1.2.6" to clipboard
apiverve_usernamegenerator: ^1.2.6 copied to clipboard

Username Generator creates handle suggestions from a person's name or email address. It returns an array of suggested usernames based on the input, while paid plans can request multiple options at once.

Username Generator API - Dart/Flutter Client #

Username Generator creates handle suggestions from a person's name or email address. It returns an array of suggested usernames based on the input, while paid plans can request multiple options at once.

pub package License: MIT

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

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_usernamegenerator: ^1.2.6

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_usernamegenerator/apiverve_usernamegenerator.dart';

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

  try {
    final response = await client.execute({
      'email': 'sean@mail.com',
      'count': 1,
      'platform': 'twitter',
      'maxLength': 15
    });

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

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "count": 10,
    "suggestions": [
      "smoothsean",
      "sean-blade",
      "infinitesean",
      "jadesean",
      "sean777",
      "hiddensean23",
      "seantv596",
      "sean_brightdragon",
      "shiningsean",
      "the_sean"
    ],
    "email": "sean@mail.com",
    "platform": null,
    "maxLength": null
  }
}

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

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Username Generator creates handle suggestions from a person's name or email address. It returns an array of suggested usernames based on the input, while paid plans can request multiple options at once.

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_usernamegenerator