app
androidJvm
app
/
openfoodfacts.github.scrachx.openfood.network.services
/
ProductsAPI
/
getProductByBarcode
get
Product
By
Barcode
androidJvm
@
GET
(
value
=
"api/v0/product/{barcode}.json"
)
abstract
suspend
fun
getProductByBarcode
(
@
Path
(
value
=
"barcode"
)
barcode
:
String
,
@
Query
(
value
=
"fields"
)
fields
:
String
,
@
Query
(
value
=
"lc"
)
locale
:
String
,
@
Header
(
value
=
"User-Agent"
)
header
:
String
)
:
ProductState
Content copied to clipboard