Open alexfauquette opened 5 months ago
https://robotoff.openfoodfacts.org/api/v1/images/logos/search/?type=brand&count=25&random=true&value=cora
returns tons of logos
https://robotoff.openfoodfacts.org/api/v1/images/logos/search/?type=brand&count=25&random=true&taxonomy_value=en:cora
return nothing
I implemented the use of search-a-lisiouse for brand and found that using the taxonomy id do not work
Hi @alexfauquette, the following.
https://robotoff.openfoodfacts.org/api/v1/images/logos/search/?type=brand&count=25&random=true&taxonomy_value=Cora
or
https://robotoff.openfoodfacts.org/api/v1/images/logos/search/?type=brand&count=25&random=true&taxonomy_value=cora
seems to work for me
Is there a reason why the en:cora was used instead of cora in the URL ?
en:cora
cora
https://robotoff.openfoodfacts.org/api/v1/images/logos/search/?type=brand&count=25&random=true&value=cora
returns tons of logos
https://robotoff.openfoodfacts.org/api/v1/images/logos/search/?type=brand&count=25&random=true&taxonomy_value=en:cora
return nothing
Context
I implemented the use of search-a-lisiouse for brand and found that using the taxonomy id do not work