Metadata-Version: 1.1
Name: eansearch
Version: 1.0.0
Summary: A Python class for EAN and ISBN name lookup and validation using the API on ean-search.org
Home-page: https://github.com/eansearch/python-ean-search
Author: Jan Willamowius
Author-email: info@relaxedcommunications.com
License: UNKNOWN
Description: # EANSearch
        
        A Python class for EAN and ISBN name lookup and validation using the API on https://www.ean-search.org
        
        Compatible with Python 2.x **and** 3.x
        
        ```python
        from eansearch import EANSearch
        
        # get a token from https://www.ean-search.org/ean-database-api.html
        apiToken = "secret"
        ean = "5099750442227" # Thriller
        
        lookup = EANSearch(apiToken)
        
        name = lookup.barcodeLookup(ean)
        print(ean, " is ", name)
        
        ok = lookup.verifyChecksum(ean)
        print(ean, " is ", "OK" if ok else "Not OK")
        
        eanList = eansearch.productSearch('iPod');
        for product in eanList:
        	print(product["ean"], " is ", product["name"].encode("utf-8"))
        
        eanList = eansearch.barcodePrefixSearch('4007249146');
        for product in eanList:
        	print(product["ean"], " is ", product["name"].encode("utf-8"))
        
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
