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

Document the new product lists API #10180

Open
Tracked by #7446 ...
teolemon opened this issue Mar 7, 2021 · 1 comment
Open
Tracked by #7446 ...

Document the new product lists API #10180

teolemon opened this issue Mar 7, 2021 · 1 comment

Comments

@teolemon
Copy link
Member

teolemon commented Mar 7, 2021

Document the new product lists API
https://world.openfoodfacts.org/api/v2/search?code=8024884500403,3263855093192&fields=code,product_name

@CharlesNepote
Copy link
Member

Including the max number of products to be requested. "I guess 1000 products won't be fine because of the largest header default limit of Nginx (8K). If you're requesting EAN13 barcodes the server should allow you 8000/14=571 products (I put 14 because you need to add a comma between each EAN). This limits can be modified, but I think we shouldn't."
https://openfoodfacts.slack.com/archives/C043X1X90/p1624606422044700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To discuss and validate
Status: No status
Development

No branches or pull requests

2 participants