-
-
Notifications
You must be signed in to change notification settings - Fork 92
docs: add example usage for add_image method #322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
docs: add example usage for add_image method #322
Conversation
|
| @@ -0,0 +1,11 @@ | |||
| from openfoodfacts import API | |||
|
|
|||
| api = API(user_id="tejaswibks", password="your_password") | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| api = API(user_id="tejaswibks", password="your_password") | |
| api = API(user_id="your_username", password="your_password") |
| @@ -0,0 +1,11 @@ | |||
| from openfoodfacts import API | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to add a section about how to add an image, you should add it to a markdown file (here usage.md would be appropriate).



📄 Added example documentation for the
add_image()method in the Open Food Facts Python SDK.The example includes:
APIThis will help new contributors and developers understand how to use this method effectively. 😄
Fixes #69 ← (If you commented on an issue earlier, add that number here)