Started to work on the perl search request

This commit is contained in:
cdricms
2024-01-15 23:33:20 +01:00
parent d1cb8732b4
commit 98463dcb0a
10 changed files with 285 additions and 77 deletions

View File

@@ -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)
// }