Started to work on the perl search request
This commit is contained in:
@@ -4,10 +4,10 @@ import OpenFoodFacts
|
||||
let off = OpenFoodFactsClient()
|
||||
off.prod = true
|
||||
|
||||
do {
|
||||
// do {
|
||||
|
||||
let res = try await off.search("Coca-Cola")
|
||||
print(res)
|
||||
} catch {
|
||||
print(error)
|
||||
}
|
||||
// // let res = try await off.search("Coca-Cola")
|
||||
// // print(res)
|
||||
// } catch {
|
||||
// print(error)
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user