Skip to main content

apiverve_loremipsumgenerator 1.2.5 copy "apiverve_loremipsumgenerator: ^1.2.5" to clipboard
apiverve_loremipsumgenerator: ^1.2.5 copied to clipboard

Lorem Ipsum Generator generates placeholder text by paragraph count with optional length limits and standard opening phrasing. Every response includes the dummy copy plus word and sentence counts.

Lorem Ipsum Generator API - Dart/Flutter Client #

Lorem Ipsum Generator generates placeholder text by paragraph count with optional length limits and standard opening phrasing. Every response includes the dummy copy plus word and sentence counts.

pub package License: MIT

This is the Dart/Flutter client for the Lorem Ipsum Generator API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_loremipsumgenerator: ^1.2.5

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_loremipsumgenerator/apiverve_loremipsumgenerator.dart';

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

  try {
    final response = await client.execute({
      'paragraphs': 1,
      'startwithlorem': true,
      'maxlength': 100
    });

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

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "words": 73,
    "sentences": 7,
    "text": "Lorem ipsum dolor sit amet aliquip duis veniam dolore ea eu ex ad occaecat in sunt amet sit non esse. Proident fugiat eu nisi et duis excepteur. Aute ipsum pariatur labore do pariatur exercitation excepteur qui exercitation aliquip ut mollit. Reprehenderit ipsum velit eiusmod duis nulla. Id eu aute mollit cillum dolore adipisicing non occaecat. Laboris commodo magna occaecat officia amet sunt aliqua et enim enim incididunt in. Magna laborum irure nulla ea."
  }
}

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

Publisher

unverified uploader

Weekly Downloads

Lorem Ipsum Generator generates placeholder text by paragraph count with optional length limits and standard opening phrasing. Every response includes the dummy copy plus word and sentence counts.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_loremipsumgenerator