
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
cloudmersive-barcode-api-client
Advanced tools
CloudmersiveBarcodeApiClient - the Ruby gem for the barcodeapi
Barcode APIs let you generate barcode images, and recognize values from images of barcodes.
This SDK is automatically generated by the Swagger Codegen project:
To build the Ruby code into a gem:
gem build cloudmersive-barcode-api-client.gemspec
Then either install the gem locally:
gem install ./cloudmersive-barcode-api-client-2.1.0.gem
(for development, run gem install --dev ./cloudmersive-barcode-api-client-2.1.0.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'cloudmersive-barcode-api-client', '~> 2.1.0'
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
gem 'cloudmersive-barcode-api-client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Please follow the installation procedure and then run the following code:
# Load the gem
require 'cloudmersive-barcode-api-client'
# Setup authorization
CloudmersiveBarcodeApiClient.configure do |config|
# Configure API key authorization: Apikey
config.api_key['Apikey'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Apikey'] = 'Bearer'
end
api_instance = CloudmersiveBarcodeApiClient::BarcodeLookupApi.new
value = 'value_example' # String | Barcode value
begin
#Lookup EAN barcode value, return product data
result = api_instance.barcode_lookup_ean_lookup(value)
p result
rescue CloudmersiveBarcodeApiClient::ApiError => e
puts "Exception when calling BarcodeLookupApi->barcode_lookup_ean_lookup: #{e}"
end
All URIs are relative to https://api.cloudmersive.com
Class | Method | HTTP request | Description |
---|---|---|---|
CloudmersiveBarcodeApiClient::BarcodeLookupApi | barcode_lookup_ean_lookup | POST /barcode/lookup/ean | Lookup EAN barcode value, return product data |
CloudmersiveBarcodeApiClient::BarcodeScanApi | barcode_scan_image | POST /barcode/scan/image | Scan and recognize an image of a barcode |
CloudmersiveBarcodeApiClient::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 |
CloudmersiveBarcodeApiClient::GenerateBarcodeApi | generate_barcode_ean13 | POST /barcode/generate/ean-13 | Generate a EAN-13 code barcode as PNG file |
CloudmersiveBarcodeApiClient::GenerateBarcodeApi | generate_barcode_ean8 | POST /barcode/generate/ean-8 | Generate a EAN-8 code barcode as PNG file |
CloudmersiveBarcodeApiClient::GenerateBarcodeApi | generate_barcode_qr_code | POST /barcode/generate/qrcode | Generate a QR code barcode as PNG file |
CloudmersiveBarcodeApiClient::GenerateBarcodeApi | generate_barcode_upca | POST /barcode/generate/upc-a | Generate a UPC-A code barcode as PNG file |
CloudmersiveBarcodeApiClient::GenerateBarcodeApi | generate_barcode_upce | POST /barcode/generate/upc-e | Generate a UPC-E code barcode as PNG file |
FAQs
Unknown package
We found that cloudmersive-barcode-api-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.