-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Unable to find new packager codes with API #4405
Comments
on the web site, it's probably not in the first 10000 results, and just on another page. |
Indeed, it seems that the python library should only get the first 10000 results. The filter option is very interesting but I don't think it's implemented in the library. Unfortunately, the filter option is not available on the api : https://world.openfoodfacts.org/packager-codes.json?filter=emb |
I had look through the server code, and it looks like adding a json=anything parameter is an alternative to the .json extension. openfoodfacts-server/lib/ProductOpener/Display.pm Lines 585 to 588 in 08a94fc
And https://world.openfoodfacts.org/packager-codes?filter=emb&json=1 does indeed seem to do the trick. |
This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts |
What
Reproduction steps
Steps to reproduce the behavior:
Number of products impacted
I have noticed this on several recently added products
Part of
The text was updated successfully, but these errors were encountered: