Create OFF object
Optional
init: RequestInitOptions for the OFF Object
Private
Readonly
basePrivate
Readonly
fetchOptional
init: RequestInitReadonly
rawv2Raw v2 client
Readonly
robotoffRobotoff API
It is used to get a specific product using barcode
Barcode of the product you want to fetch details
Private
getOptional
fields: stringOptional
sortBy: "product_name" | "last_modified_t" | "scans_n" | "unique_scans_n" | "created_t" | "completeness" | "popularity_key" | "nutriscore_score" | "nova_score" | "nothing" | "ecoscore_score"Generated using TypeDoc
Wrapper of OFF API