{"id":30052306,"url":"https://github.com/marcus-software/ms_ean_db","last_synced_at":"2026-07-21T17:48:03.176Z","repository":{"id":299732418,"uuid":"1004030590","full_name":"Marcus-Software/ms_ean_db","owner":"Marcus-Software","description":"A Dart package to access the EAN database API for product information.","archived":false,"fork":false,"pushed_at":"2025-07-28T22:36:33.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-29T00:23:01.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Marcus-Software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-06-18T02:39:59.000Z","updated_at":"2025-07-28T22:36:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"24f2edfa-25e4-4544-ad4d-3a1b4fbc5c4f","html_url":"https://github.com/Marcus-Software/ms_ean_db","commit_stats":null,"previous_names":["marcus-software/ms_ean_db"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Marcus-Software/ms_ean_db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcus-Software%2Fms_ean_db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcus-Software%2Fms_ean_db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcus-Software%2Fms_ean_db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcus-Software%2Fms_ean_db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marcus-Software","download_url":"https://codeload.github.com/Marcus-Software/ms_ean_db/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcus-Software%2Fms_ean_db/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269292886,"owners_count":24392505,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-07T16:57:11.345Z","updated_at":"2025-10-11T07:08:09.362Z","avatar_url":"https://github.com/Marcus-Software.png","language":"Dart","funding_links":["https://www.buymeacoffee.com/marcusedu"],"categories":[],"sub_categories":[],"readme":"[![Pub](https://img.shields.io/pub/v/ms_ean_db.svg)](https://pub.dartlang.org/packages/ms_ean_db)\n[![GitHub stars](https://img.shields.io/github/stars/Marcus-Software/ms_ean_db?style=social)](https://github.com/Marcus-Software/ms_ean_db)\n\u003cspan class=\"badge-buymeacoffee\"\u003e\n\u003ca href=\"https://www.buymeacoffee.com/marcusedu\" title=\"Donate to this project using Buy Me A Coffee\"\u003e\u003cimg src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /\u003e\u003c/a\u003e\n\u003c/span\u003e\n\nA simple client of [EAN-DB](https://ean-db.com/) API, a database of EAN codes with more than 64 M barcodes.\n\n## Features\n\n- Search for EAN codes\n\n## Getting started\n\nCreate an account at [EAN-DB](https://ean-db.com/) to get your API token.\n\nYou can find your API token in your account settings after logging [here](https://ean-db.com/account).\n\n## Usage\n\nTo use this package, add `ms_ean_db` as a dependency in your `pubspec.yaml` file.\n\n```shell\nflutter pub add ms_ean_db\n```\n\nThen, import the package in your Dart code:\n\n```dart\nimport 'package:ms_ean_db/ms_ean_db.dart';\n```\n\nSo you can use the `EanDb` class to interact\n\n```dart\nvoid main() async {\n  final eanDb = EanDb(token: 'YOUR_API_TOKEN');\n  final accountResponse = await eanDb.getAccount();\n  print('Account: ${accountResponse.data.primaryEmail}'); // Account: your_nice_email@host.com\n  print('Balance: ${accountResponse.data.balance}'); // Balance: 123\n  final productResponse = await eanDb.barcodeLookup('7896051135425');\n  print(\n    'Product: ${productResponse.data?.titles.get('pt')}',\n  ); // Output: Product: Manteiga de Primeira Qualidade com Sal\n}\n```\n\n## Thanks\n\nI would like to thank [EAN-DB](https://ean-db.com/) for providing this API and allowing us to use it in our projects.\n\nI hope this package helps you to easily integrate EAN code search functionality into your Flutter applications.\nConsider supporting the project by [buying me a coffee](https://www.buymeacoffee.com/marcusedu) if you find it useful.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcus-software%2Fms_ean_db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcus-software%2Fms_ean_db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcus-software%2Fms_ean_db/lists"}