cloudmersive_barcode_api_client
Barcode APIs let you generate barcode images, and recognize values from images of barcodes.
This Python package provides a native API client for Cloudmersive Barcode API
- API version: v1
- Package version: 3.2.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import cloudmersive_barcode_api_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import cloudmersive_barcode_api_client
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import cloudmersive_barcode_api_client
from cloudmersive_barcode_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_barcode_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_barcode_api_client.BarcodeLookupApi(cloudmersive_barcode_api_client.ApiClient(configuration))
value = 'value_example' # str | Barcode value
try:
# Lookup EAN barcode value, return product data
api_response = api_instance.barcode_lookup_ean_lookup(value)
pprint(api_response)
except ApiException as e:
print("Exception when calling BarcodeLookupApi->barcode_lookup_ean_lookup: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.cloudmersive.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| BarcodeLookupApi | barcode_lookup_ean_lookup | POST /barcode/lookup/ean | Lookup EAN barcode value, return product data |
| BarcodeScanApi | barcode_scan_image | POST /barcode/scan/image | Scan and recognize an image of a barcode |
| BarcodeScanApi | barcode_scan_image_advanced | POST /barcode/scan/image/advanced | Advanced AI scan and recognition of an image of one or more barcodes of any type |
| BarcodeScanApi | barcode_scan_image_advanced_qr | POST /barcode/scan/image/advanced/qr | Advanced AI scan and recognition of an image of one or more QR barcodes |
| GenerateBarcodeApi | generate_barcode_code128 | POST /barcode/generate/code-128 | Generate a EAN-13 code barcode as PNG file |
| GenerateBarcodeApi | generate_barcode_ean13 | POST /barcode/generate/ean-13 | Generate a EAN-13 code barcode as PNG file |
| GenerateBarcodeApi | generate_barcode_ean8 | POST /barcode/generate/ean-8 | Generate a EAN-8 code barcode as PNG file |
| GenerateBarcodeApi | generate_barcode_qr_code | POST /barcode/generate/qrcode | Generate a QR code barcode as PNG file |
| GenerateBarcodeApi | generate_barcode_upca | POST /barcode/generate/upc-a | Generate a UPC-A code barcode as PNG file |
| GenerateBarcodeApi | generate_barcode_upce | POST /barcode/generate/upc-e | Generate a UPC-E code barcode as PNG file |
Documentation For Models
- BarcodeAdvancedResultItem
- BarcodeAdvancedScanResult
- BarcodeLookupResponse
- BarcodeQRResultItem
- BarcodeScanQRAdvancedResult
- BarcodeScanResult
- ProductMatch
Documentation For Authorization
Apikey
- Type: API key
- API key parameter name: Apikey
- Location: HTTP header
Author
Metadata
Release files for cloudmersive-barcode-api-client 3.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloudmersive_barcode_api_client-3.2.0.tar.gz | 26.6 kB | Details |
Release files / cloudmersive_barcode_api_client-3.2.0.tar.gz
| Download URL | cloudmersive_barcode_api_client-3.2.0.tar.gz |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b4ced7678213156e62f6bb615f7c31b5e6ebde851bb21b1bb440b209b6cd2ce
|
|
BLAKE2b-256 checksum How to use checksums |
6ed6aed3ba04edb8dbcb08124930b6e0aa72a1705495dacadbdf991196ae0987
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|