apiverve_barcodegenerator 1.1.14 copy "apiverve_barcodegenerator: ^1.1.14" to clipboard
apiverve_barcodegenerator: ^1.1.14 copied to clipboard

Barcode Generator is a simple tool for generating barcodes from data. It returns a URL to the generated image of the barcode.

Barcode Generator API - Dart/Flutter Client #

Barcode Generator is a simple tool for generating barcodes from data. It returns a URL to the generated image of the barcode.

pub package License: MIT

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

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_barcodegenerator: ^1.1.14

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_barcodegenerator/apiverve_barcodegenerator.dart';

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

  try {
    final response = await client.execute({
      'data': '51001544700',
      'type': 'code128',
      'lineColor': '#000000',
      'backgroundColor': '#FFFFFF',
      'displayValue': true
    });

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

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "imageName": "57a22bf2-102a-4dfa-a65c-e521d05a9355.png",
    "format": ".png",
    "type": "CODE128",
    "expires": 1740173338237,
    "downloadURL": "https://storage.googleapis.com/apiverve.appspot.com/barcodegenerator/57a22bf2-102a-4dfa-a65c-e521d05a9355.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1740173338&Signature=aFYDIpRA8Qy83jM7eXcknt8O0Pm5OqeLMNLgPOS6r3pTKcpha2u5pmYsweWEl%2BUsvW%2Fi2%2BKK7HtINdRItTuzQoxWkkyU2xBQAy%2B5jPCN0VoiGin6nEcvAxI6Vklw0nlp6yCnenUffaY1xNq%2FVfGQQTa74EOZweNRD7ZDblM7DRFtwMWQyJxkf5Yqae%2BtFvctVebgru%2B4Yj%2BXoNZaXckRNHMz5VxH7saAGxnVc0tKI0ypCg76cZeD8etIv2Jvv1VuhO8nKl6c4pE%2FeH16gJu2DWRAjRG%2F%2BXwwY7Uxpz%2BZ7VcfuNXbUuCDyQN2wMNgGaaZlR%2F4ISIs5N%2Bh29Ko8vnRBw%3D%3D"
  }
}

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

Publisher

unverified uploader

Weekly Downloads

Barcode Generator is a simple tool for generating barcodes from data. It returns a URL to the generated image of the barcode.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_barcodegenerator