Skip to main content

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

Project description

Barcode Generator API

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

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the Barcode Generator API


Installation

pip install apiverve-barcodegenerator

Configuration

Before using the barcodegenerator API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com


Usage

The Barcode Generator API documentation is found here: https://docs.apiverve.com/api/barcodegenerator.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_barcodegenerator.apiClient import BarcodegeneratorAPIClient

# Initialize the client with your APIVerve API key
api = BarcodegeneratorAPIClient("[YOUR_API_KEY]")

Perform Request

Using the API client, you can perform requests to the API.

Define Query
query = {  "data": "51001544700",  "type": "code128",  "lineColor": "#000000",  "backgroundColor": "#FFFFFF",  "displayValue": true } 
Simple Request
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
Example 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"
  },
  "code": 200
}

Customer Support

Need any assistance? Get in touch with Customer Support.


Updates

Stay up to date by following @apiverveHQ on Twitter.


Legal

All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.


License

Licensed under the The MIT License (MIT)

Copyright (©) 2025 APIVerve, and EvlarSoft LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apiverve_barcodegenerator-1.1.8.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apiverve_barcodegenerator-1.1.8-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file apiverve_barcodegenerator-1.1.8.tar.gz.

File metadata

File hashes

Hashes for apiverve_barcodegenerator-1.1.8.tar.gz
Algorithm Hash digest
SHA256 8f69d4671cf02cc1d9324756323057de518d39c3097cbdbb79f76b82a2073115
MD5 aef4a3e696f3570616b8e71d2e9ed296
BLAKE2b-256 fe122708ffb6ab8d637d0fbe6a7c9430840d521bddd103d4051ab06fe5ddb85b

See more details on using hashes here.

File details

Details for the file apiverve_barcodegenerator-1.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_barcodegenerator-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c7a5239c70b857f5cc56fc07d74c385e9a0104e5efea5317aea2791947795531
MD5 d9b8888146d90fc36f7975639af40aa1
BLAKE2b-256 61b9ecd5ef11d5c7a74f976c6a23624f5175f35e7024bdb75bed24b70773800b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page