apiverve_barcodegenerator 1.2.0 copy "apiverve_barcodegenerator: ^1.2.0" to clipboard
apiverve_barcodegenerator: ^1.2.0 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.2.0

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": "cc85680f-a1d0-4627-89ff-7d7e53663a2b.png",
    "format": ".png",
    "type": "CODE128",
    "expires": 1766010012598,
    "downloadURL": "https://storage.googleapis.com/apiverve/APIData/barcodegenerator/cc85680f-a1d0-4627-89ff-7d7e53663a2b.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010012&Signature=cV6ANXGGaVDdl5SOFZt3xm2haHBnOklW1zXQICvJlGNlF4kwYVP9i%2F1RAN8NBGxSUiMk4Zcro%2FJUb3W%2Fwy8jA86pyEXTwIjNAiGW94ikpKSXs6%2FiV42Rwv6u2gX%2B2FH7XYyixlwJ%2B%2FHpfGcvka6u01FDk%2F2TUcR7%2FxsZ%2FmXPU2KTrzsI6XttCGBcHhex3LdTv%2F8tzMJbSshbZn%2BGcRTddwv6dC4lCcTtGE6Bl2zqY9s92KIr9X%2F4xj34q4XKBzywgXES57QaVhZeGPPOOUfLtI3pAN8fVSyM%2B9NBMU7R46xyqJ0J8PSVpQZhhAHn03T%2B40rcNp26GXqauM9K%2BLwZRw%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
140
points
60
downloads

Documentation

API reference

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

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_barcodegenerator