Sha256: 0630eb6e28fd749213c8b2541eb49f7f3fc5bbe96fa7499dde982565eb2e970e
Contents?: true
Size: 1.77 KB
Versions: 3
Compression:
Stored size: 1.77 KB
Contents
# CloudmersiveBarcodeApiClient::BarcodeLookupApi All URIs are relative to *https://api.cloudmersive.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**barcode_lookup_ean_lookup**](BarcodeLookupApi.md#barcode_lookup_ean_lookup) | **POST** /barcode/lookup/ean | Lookup EAN barcode value, return product data # **barcode_lookup_ean_lookup** > BarcodeLookupResponse barcode_lookup_ean_lookup(value) Lookup EAN barcode value, return product data Lookup an input EAN barcode and return key details about the product ### Example ```ruby # 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 ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **value** | **String**| Barcode value | ### Return type [**BarcodeLookupResponse**](BarcodeLookupResponse.md) ### Authorization [Apikey](../README.md#Apikey) ### HTTP request headers - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded - **Accept**: application/json, text/json, application/xml, text/xml
Version data entries
3 entries across 3 versions & 1 rubygems