app
androidJvm
app
/
openfoodfacts.github.scrachx.openfood.network.services
/
ProductsAPI
/
getProductsByState
get
Products
By
State
androidJvm
@
GET
(
value
=
"state/{state}.json"
)
abstract
suspend
fun
getProductsByState
(
@
Path
(
value
=
"state"
)
state
:
String
,
@
Query
(
value
=
"fields"
)
fields
:
String
)
:
Search
Content copied to clipboard
@
GET
(
value
=
"state/{State}/{page}.json"
)
abstract
suspend
fun
getProductsByState
(
@
Path
(
value
=
"State"
)
state
:
String
?
,
@
Path
(
value
=
"page"
)
page
:
Int
,
@
Query
(
value
=
"fields"
)
fields
:
String
?
)
:
Search
Content copied to clipboard