Skip to main content

This is the source code for the Savanna Python Software Development Kit (SDK).

Project description

Zebra Savanna Data Services Python SDK

This is the source code for the Savanna Python Software Development Kit (SDK).
The core of this SDK is a basic API connection call to the Zebra Savanna Data Services in the SavannaAPI class. Currently the API has public methods for the three public APIs that are part of the Barcode Intelligence product. These APIs are:

  • Barcode Generate
  • UPC Lookup
  • FDA Recall

This SDK also has models for all the data sent and received by these APIs in order to make it easier to work with them.

API Key

To get an API key to work with these APIs, use the Getting Started Guide and select the Barcode Intelligence product.

Documentation

For more information on these APIs, go to developer.zebra.com/apis or visit the Forums

Usage guide

Set Zebra Savanna API key

SavannaAPI.APIKey = "..."

Create Barcode

fileBytes = CreateBarcode.create_symbology_text(symbology, barcodeText.Text)

UPC Lookup

upcLookupJson = UPCLookup.lookup(barcode)

FDA Food Recall

foodUpcJson = FDARecall.foodUpc(barcode)

FDA Drug Recall

drugUpcJson = FDARecall.drugUpc(barcode)

FDA Device Recall Search

deviceSearchJson = FDARecall.deviceSearch(searchText.Text)

FDA Drug Recall Search

drugSearchJson = FDARecall.drugSearch(searchText.Text)

Project details


Download files

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

Source Distribution

Savanna-Python-SDK-1.0.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Savanna_Python_SDK-1.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file Savanna-Python-SDK-1.0.0.tar.gz.

File metadata

  • Download URL: Savanna-Python-SDK-1.0.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for Savanna-Python-SDK-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bf2d38821b97c022bff1e2772def913c12e72541f9b06396927a611d365ed901
MD5 66535cd6d6ae2f1d955790e5ae327681
BLAKE2b-256 0707c0ea3df22bd5066adc53cf043e41e604da433255e0b329265a3cfb648dbf

See more details on using hashes here.

File details

Details for the file Savanna_Python_SDK-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Savanna_Python_SDK-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for Savanna_Python_SDK-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54cd3aacf79daf2523baa61ea359cde2ec5fac9dbdc60d3f956803eba1564d84
MD5 57ab78e07b4ffbb8d3a4d5d0c9d807cc
BLAKE2b-256 aab8b234d66e640ac56831ceca2c8e05dfd1130f48c82a647dd9bd5cdf74396b

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