{"id":27475346,"url":"https://github.com/eansearch/lua-barcode-lookup","last_synced_at":"2025-04-16T06:42:01.469Z","repository":{"id":287915111,"uuid":"966214720","full_name":"eansearch/lua-barcode-lookup","owner":"eansearch","description":"Lua package to for EAN, UPC and ISBN name lookup and validation","archived":false,"fork":false,"pushed_at":"2025-04-14T15:56:54.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T16:47:33.599Z","etag":null,"topics":["barcode","ean","gtin","isbn","isbn-10","isbn-13","lookup","lua","upc"],"latest_commit_sha":null,"homepage":"https://www.ean-search.org","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eansearch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-14T15:20:29.000Z","updated_at":"2025-04-14T15:55:53.000Z","dependencies_parsed_at":"2025-04-14T16:47:38.256Z","dependency_job_id":"4ae77f20-fe30-4803-9241-49b37a92b00e","html_url":"https://github.com/eansearch/lua-barcode-lookup","commit_stats":null,"previous_names":["eansearch/lua-barcode-lookup"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eansearch%2Flua-barcode-lookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eansearch%2Flua-barcode-lookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eansearch%2Flua-barcode-lookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eansearch%2Flua-barcode-lookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eansearch","download_url":"https://codeload.github.com/eansearch/lua-barcode-lookup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249209396,"owners_count":21230497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode","ean","gtin","isbn","isbn-10","isbn-13","lookup","lua","upc"],"created_at":"2025-04-16T06:42:01.007Z","updated_at":"2025-04-16T06:42:01.458Z","avatar_url":"https://github.com/eansearch.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua-barcode-lookup\n\nA Lua package or EAN, UPC, GTIN and ISBN name lookup and validation\n\n```lua\nlocal barcodeLookup = BarcodeLookup:new(os.getenv(\"EAN_SEARCH_API_TOKEN\"))\n\nlocal product = barcodeLookup:barcodeLookup(\"5099750442227\")\nif (product.error) then\n    print(product.error)\nelse\n    print(product.name, product.categoryName)\nend\nlocal product = barcodeLookup:barcodeLookup(\"5099750442228\")\nif (product.error) then\n    print(product.error)\nelse\n    print(product.name, product.categoryName)\nend\n\nlocal productList = barcodeLookup:productSearch(\"iphone 16\")\nlocal i = 1\nwhile productList[i] ~= nil do\n    print(productList[i].ean, productList[i].name, productList[i].categoryName)\n    i = i + 1\nend\n\nprint (barcodeLookup:verifyChecksum(\"5099750442227\"))\nprint (barcodeLookup:verifyChecksum(\"5099750442228\"))\n\nprint (barcodeLookup:issuingCountryLookup(\"5099750442227\"))\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feansearch%2Flua-barcode-lookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feansearch%2Flua-barcode-lookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feansearch%2Flua-barcode-lookup/lists"}