Skip to content

Commit

Permalink
fix: typos (#8913)
Browse files Browse the repository at this point in the history
  • Loading branch information
omahs authored Aug 29, 2023
1 parent bfd66b5 commit 8bc7d0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/api/how-to-download-images.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# How to download product images

The prefered method of downloading Open Food Facts images depends on what you
The preferred method of downloading Open Food Facts images depends on what you
which to achieve.

If you want to download a limited number of images, especially if these images
Expand Down
2 changes: 1 addition & 1 deletion docs/api/tutorial-dev-journey.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ To identify the potential users' needs, Dave has met with some conscious consume
[]()Dev Journey 2: Finding healthy breakfast cereals for Stefano
[]()Dev Journey 3: Adding missing products
[]()Dev Journey 4: Get the Nutri-Score
[]()Dev Journey 5 : Get the Eco-Score
[]()Dev Journey 5: Get the Eco-Score
[]()Dev Journey 6: Get ingredient related analysis on new or existing products (Nova, allergens, additives…)
8 changes: 4 additions & 4 deletions docs/api/tutorial-off-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Welcome to this tutorial on basic usage of Open Food Facts API.

Fist, be sure to see our [Introduction to the API](./index.md).
First, be sure to see our [Introduction to the API](./index.md).

## Scan A Product To Get Nutri-score

Expand Down Expand Up @@ -149,9 +149,9 @@ The sample response above for 100% Real Orange Juice `misc_tags` shows that the

### Write data to make Nutri-Score computation possible

The WRITE operations in the OFF API require authentication. Therefore you need a valid `user_id` and `password` to write the missing nutriment data to 100% Real Orange Juice.
The WRITE operations in the OFF API require authentication. Therefore you need a valid `user_id` and `password` to write the missing nutriment data to 100% Real Orange Juice.

> Sign up on the [Open Food Facts App](https://world.openfoodfacts.net/) to get your`user_id` and `password`if you don't have one.
> Sign up on the [Open Food Facts App](https://world.openfoodfacts.net/) to get your`user_id` and `password` if you don't have one.
To write data to a product, make a `POST` request to the [`Add or Edit A Product`](https://openfoodfacts.github.io/openfoodfacts-server/api/ref-v2/#post-/cgi/product_jqm2.pl) endpoint.

Expand Down Expand Up @@ -180,7 +180,7 @@ curl -XPOST -x POST https://world.openfoodfacts.net/cgi/product_jqm2.pl \
-F code=0180411000803 -F nutriment_sodium=0.015 -F nutriment_sodium_unit=g -F categories="Orange Juice"
```

If the request is succesful, it returns a response that indicated that the fields have been saved.
If the request is successful, it returns a response that indicates that the fields have been saved.

```json
{
Expand Down

0 comments on commit 8bc7d0e

Please sign in to comment.