Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom provider #232

Open
josvink66 opened this issue Jan 20, 2024 · 5 comments
Open

Custom provider #232

josvink66 opened this issue Jan 20, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@josvink66
Copy link

Hi,

First of all, great addon to Grocy!

I was wondering, is it possible to create a custom provider? I have a big csv file with products and there barcode of our local supermarket. It would be great to include this to barcodebuddy as the data set is to big to just all insert it to Grocy.

I can change the format of the dataset if needed.

@Forceu
Copy link
Owner

Forceu commented Jan 20, 2024

Hi, thanks for your input! I might add support for custom providers at some point, as it would be rather trivial. In the meantime, you can send me the dataset, that way I can add it to BarcodeBuddy Federation and the data would be available to your instance as well (if you want to)

@josvink66
Copy link
Author

josvink66 commented Jan 20, 2024

Hi @Forceu thanks for your response. A custom integration would be great as data changes all of the time. For now, adding the dataset to BarcodeBuddy Federation would be awesome. See the attached files. The file ProductsEANDirty has all of the products but the EAN code has many duplicates. The file ProductsEANClean has been filtered on EAN code, so some issue may occure. Uploading naming ProductsEANClean.csv…
Uploading ProductsEANDirty.csv…

@Forceu
Copy link
Owner

Forceu commented Jan 20, 2024

Sure, I will add them right away. The server detects duplicates anyway, so all options will be added. However I think the files were not uploaded correctly? Maybe try to upload them as a zip file here

@josvink66
Copy link
Author

Sorry for the very late reply! The upload does not seem to work for me. So I have uploaded them here: https://file.io/jDS8gz7jXoVD

@Forceu
Copy link
Owner

Forceu commented Jan 29, 2024

Thanks, I added them to the federation, they should be available now to all users

Imported 20999 barcodes
12604 new barcodes added

In the future I will also add a provider for local csv files, see #222

@Forceu Forceu added the enhancement New feature or request label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants