{"id":350968,"date":"2023-07-29T15:01:35","date_gmt":"2023-07-29T15:01:35","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=350968"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=350968","title":{"rendered":"<span>\u041a\u0430\u043a \u044f \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b \u0447\u0430\u0442-\u0431\u043e\u0442 \u0434\u043b\u044f Telegram, \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u0438 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438. \u0427\u0430\u0441\u0442\u044c 2 \u2014 \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043a\u0443\u0448\u0430\u0446?<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 1 \u0447\u0430\u0441\u0442\u044c, \u0433\u0434\u0435 \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043e \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0430\u0445:<\/p>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/750656\/\" rel=\"noopener noreferrer nofollow\">https:\/\/habr.com\/ru\/articles\/750656\/<\/a><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/770\/ea2\/f96\/770ea2f96be4c61fe463e06153299a74.jpg\" width=\"1920\" height=\"1080\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/770\/ea2\/f96\/770ea2f96be4c61fe463e06153299a74.jpg\" data-blurred=\"true\"\/><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u0447\u0430\u0442-\u0431\u043e\u0442\u0430 &#8212; <strong>\u0434\u043d\u0435\u0432\u043d\u0438\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f<\/strong> (\u043e\u043d \u0436\u0435 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a\u0430\u043b\u043e\u0440\u0438\u0439).<\/p>\n<h2>\u0427\u0442\u043e \u043f\u043e \u0411\u0414?<\/h2>\n<p>\u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0411\u0414 \u0441 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0443\u043f\u0440\u0430\u0436\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0434\u0435\u0441\u044c \u0435\u0441\u0442\u044c \u0438\u0437 \u0447\u0435\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u0443\u0447\u0430 \u0431\u0430\u0437 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043f\u043e API, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/ru.openfoodfacts.org\/\" rel=\"noopener noreferrer nofollow\">Open Food Facts<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/platform.fatsecret.com\/api\/\" rel=\"noopener noreferrer nofollow\">Fatsecret<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/fdc.nal.usda.gov\/api-guide.html\" rel=\"noopener noreferrer nofollow\">FoodData Central<\/a> \u043e\u0442 \u041c\u0438\u043d\u0438\u0441\u0442\u0435\u0440\u0441\u0442\u0432\u0430 \u0441\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0445\u043e\u0437\u044f\u0439\u0441\u0442\u0432\u0430 \u0421\u0428\u0410 + \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0441\u0430\u043c\u0443 \u0411\u0414<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">Nutritionix<\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043d\u0430&#8230; <a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\"><strong>Nutritionix<\/strong><\/a>, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u0430 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u043e\u0434\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u0444\u0438\u0448\u043a\u043e\u0439 &#8212; \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u0422\u043e \u0435\u0441\u0442\u044c, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0441\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441 \u0441\u0442\u0440\u043e\u043a\u0443 \u0432\u0438\u0434\u0430 &#171;3 \u0432\u0430\u0440\u0435\u043d\u044b\u0445 \u044f\u0439\u0446\u0430 \u0438 \u0431\u0430\u043d\u043a\u0430 \u043f\u0438\u0432\u0430&#187;, \u0430 \u0441\u0435\u0440\u0432\u0438\u0441 \u0432\u044b\u0443\u0434\u0438\u0442 \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\/\u0432\u0435\u0441\/\u043e\u0431\u044a\u0435\u043c \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c06\/42f\/a68\/c0642fa68a6e7dd9719944a9bb2a96ad.png\" width=\"944\" height=\"838\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c06\/42f\/a68\/c0642fa68a6e7dd9719944a9bb2a96ad.png\"\/><\/figure>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0435\u0441\u043b\u0438 \u043c\u044b \u043d\u0435 \u0443\u043a\u0430\u0436\u0435\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0432\u0435\u0441\/\u043e\u0431\u044a\u0435\u043c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430, \u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0437\u044c\u043c\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435: 1 \u0432\u0430\u0440\u0435\u043d\u043e\u0435 \u044f\u0439\u0446\u043e &#8212; 50 \u0433\u0440\u0430\u043c\u043c \u0438\u043b\u0438 1 \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u0445\u043b\u0435\u0431\u0430 &#8212; 29 \u0433\u0440\u0430\u043c\u043c. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e &#8212; \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0442\u0435\u0441\u0442\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u043d\u0438\u0436\u0435:<\/p>\n<p><a href=\"https:\/\/www.nutritionix.com\/natural-demo\" rel=\"noopener noreferrer nofollow\">https:\/\/www.nutritionix.com\/natural-demo<\/a><\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0443 <a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">Nutritionix<\/a><strong> <\/strong>\u0435\u0441\u0442\u044c \u0438 \u0434\u043b\u044f \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043e\u043a &#8212; \u0432\u0432\u0435\u043b \u043e\u0431\u044a\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0436\u043d\u0435\u043d\u0438\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u043e\u0431\u0435\u0436\u0430\u043b 30 \u043c\u0438\u043d\u0443\u0442) \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u043b\u043e\u0440\u0438\u0439, \u043d\u043e, \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c. <\/p>\n<p>\u041f\u043e\u043c\u0438\u043c\u043e \u043a\u0430\u043b\u043e\u0440\u0438\u0439, \u0431\u0435\u043b\u043a\u043e\u0432, \u0436\u0438\u0440\u043e\u0432 \u0443 \u0443\u0433\u043b\u0435\u0432\u043e\u0434\u043e\u0432 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 &#8212; \u043c\u0438\u043d\u0435\u0440\u0430\u043b\u044b, \u0432\u0438\u0442\u0430\u043c\u0438\u043d\u044b, \u0430\u043b\u043a\u043e\u0433\u043e\u043b\u044c, \u0432\u043e\u0434\u0430, \u0441\u043e\u043b\u044c, \u0441\u0430\u0445\u0430\u0440 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 &#8212; \u0432\u0441\u0435\u0433\u043e <strong>161 \u043f\u043e\u0437\u0438\u0446\u0438\u044f<\/strong>.<\/p>\n<p>\u041d\u043e, \u043a\u0430\u043a \u0432\u044b \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 <strong>\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435<\/strong>. \u041a\u0430\u043a \u044d\u0442\u043e \u043d\u0430\u0441 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442? \u041d\u0438\u043a\u0430\u043a. \u0427\u0442\u043e \u0436\u0435 \u0442\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u0442\u044c? \u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c&#8230;<\/p>\n<h2>\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 (\u043d\u0435\u0442) \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430<\/h2>\n<p>\u041f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0430 &#171;2 \u043f\u043e\u043c\u0438\u0434\u043e\u0440\u0430, \u043b\u043e\u0436\u043a\u0430 \u043e\u043b\u0438\u0432\u043a\u043e\u0432\u043e\u0433\u043e \u043c\u0430\u0441\u043b\u0430 \u0438 \u0437\u0443\u0431\u0447\u0438\u043a \u0447\u0435\u0441\u043d\u043e\u043a\u0430&#187; \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043e\u043d\u043b\u0430\u0439\u043d-\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a \u0438 Python-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043f\u043e\u0434 \u043d\u0435\u0433\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"https:\/\/pypi.org\/project\/googletrans\/\" rel=\"noopener noreferrer nofollow\">googletrans <\/a>\u0434\u043b\u044f Google \u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430.<\/p>\n<p>\u0428\u0430\u0433 1. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443<\/p>\n<pre><code class=\"typescript\">pip install googletrans<\/code><\/pre>\n<p>\u0428\u0430\u0433 2. \u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c<\/p>\n<pre><code class=\"python\">from googletrans import Translator  def translate_from_rus_to_eng(text):     translator = Translator()     translated = translator.translate(text, src='ru', dest='en')     return translated.text<\/code><\/pre>\n<h2>\u041a\u043b\u044e\u0447\u0438 \u043a \u0443\u0441\u043f\u0435\u0445\u0443  <\/h2>\n<p>\u0418\u0442\u0430\u043a, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0432\u0435\u043b, \u043c\u044b \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0438, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u043a <a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">Nutritionix<\/a>. \u041e\u0434\u043d\u0430\u043a\u043e, \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u0447\u043a\u0443 \u043a\u043b\u044e\u0447\u0435\u0439 \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043f\u043e <a href=\"https:\/\/developer.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">\u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435<\/a>, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c Application ID \u0438 Application Key.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8d8\/b36\/363\/8d8b36363c22c4114a0a63357b354eea.png\" width=\"1861\" height=\"955\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8d8\/b36\/363\/8d8b36363c22c4114a0a63357b354eea.png\"\/><\/figure>\n<h2>\u041a\u043e\u0434 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f &#8212; \u0431\u043e\u0442 \u043c\u0443\u0442\u0438\u0442\u0441\u044f<\/h2>\n<p>\u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0336\u0432\u0336\u0430\u0336 \u0336\u043f\u0336\u0430\u0336\u043a\u0336\u0435\u0336\u0442\u0336\u0438\u0336\u043a\u0336\u0430\u0336 \u0336\u0442\u0336\u0440\u0336\u0430\u0336\u0432\u0336\u044b\u0336,\u0336 \u0336\u0441\u0336\u0435\u0336\u043c\u0336\u044c\u0336\u0434\u0336\u0435\u0336\u0441\u0336\u044f\u0336\u0442\u0336 \u0336\u043f\u0336\u044f\u0336\u0442\u0336\u044c\u0336 \u0336\u0430\u0336\u043c\u0336\u043f\u0336\u0443\u0336\u043b\u0336 \u0336\u043c\u0336\u0435\u0336\u0441\u0336\u043a\u0336\u0430\u0336\u043b\u0336\u0438\u0336\u043d\u0336\u0430\u0336,\u0336 \u03365\u0336 \u0336\u043f\u0336\u0430\u0336\u043a\u0336\u0435\u0336\u0442\u0336\u0438\u0336\u043a\u0336\u043e\u0336\u0432\u0336 \u0336\u0434\u0336\u0438\u0336\u044d\u0336\u0442\u0336\u0438\u0336\u043b\u0336\u0430\u0336\u043c\u0336\u0438\u0336\u0434\u0336\u0430\u0336 \u0336\u043b\u0336\u0438\u0336\u0437\u0336\u0435\u0336\u0440\u0336\u0433\u0336\u0438\u0336\u043d\u0336\u043e\u0336\u0432\u0336\u043e\u0336\u0439\u0336 \u0336\u043a\u0336\u0438\u0336\u0441\u0336\u043b\u0336\u043e\u0336\u0442\u0336\u044b\u0336 \u0336\u0438\u0336\u043b\u0336\u0438\u0336 \u0336\u041b\u0336\u0421\u0336\u0414\u0336,\u0336 \u0336\u0441\u0336\u043e\u0336\u043b\u0336\u043e\u0336\u043d\u0336\u043a\u0336\u0430\u0336,\u0336 \u0336\u043d\u0336\u0430\u0336\u043f\u0336\u043e\u0336\u043b\u0336\u043e\u0336\u0432\u0336\u0438\u0336\u043d\u0336\u0443\u0336 \u0336\u043d\u0336\u0430\u0336\u043f\u0336\u043e\u0336\u043b\u0336\u043d\u0336\u0435\u0336\u043d\u0336\u043d\u0336\u0430\u0336\u044f\u0336 \u0336\u043a\u0336\u043e\u0336\u043a\u0336\u0430\u0336\u0438\u0336\u043d\u0336\u043e\u0336\u043c\u0336,\u0336 \u0336\u0438\u0336 \u0336\u0446\u0336\u0435\u0336\u043b\u0336\u043e\u0336\u0435\u0336 \u0336\u043c\u0336\u043e\u0336\u0440\u0336\u0435\u0336 \u0336\u0440\u0336\u0430\u0336\u0437\u0336\u043d\u0336\u043e\u0336\u0446\u0336\u0432\u0336\u0435\u0336\u0442\u0336\u043d\u0336\u044b\u0336\u0445\u0336 \u0336\u0430\u0336\u043c\u0336\u0444\u0336\u0435\u0336\u0442\u0336\u0430\u0336\u043c\u0336\u0438\u0336\u043d\u0336\u043e\u0336\u0432\u0336,\u0336 \u0336\u0431\u0336\u0430\u0336\u0440\u0336\u0431\u0336\u0438\u0336\u0442\u0336\u0443\u0336\u0440\u0336\u0430\u0336\u0442\u0336\u043e\u0336\u0432\u0336 \u0336\u0438\u0336 \u0336\u0442\u0336\u0440\u0336\u0430\u0336\u043d\u0336\u043a\u0336\u0432\u0336\u0438\u0336\u043b\u0336\u0438\u0336\u0437\u0336\u0430\u0336\u0442\u0336\u043e\u0336\u0440\u0336\u043e\u0336\u0432\u0336,\u0336 \u0336\u0430\u0336 \u0336\u0442\u0336\u0430\u0336\u043a\u0336 \u0336\u0436\u0336\u0435\u0336 \u0336\u043b\u0336\u0438\u0336\u0442\u0336\u0440\u0336 \u0336\u0442\u0336\u0435\u0336\u043a\u0336\u0438\u0336\u043b\u0336\u044b\u0336,\u0336 \u0336\u043b\u0336\u0438\u0336\u0442\u0336\u0440\u0336 \u0336\u0440\u0336\u043e\u0336\u043c\u0336\u0430\u0336,\u0336 \u0336\u044f\u0336\u0449\u0336\u0438\u0336\u043a\u0336 \u0336\u00ab\u0336\u0411\u0336\u0430\u0336\u0434\u0336\u0432\u0336\u0430\u0336\u0439\u0336\u0437\u0336\u0435\u0336\u0440\u0336\u0430\u0336\u00bb\u0336,\u0336 \u0336\u043f\u0336\u0438\u0336\u043d\u0336\u0442\u0336\u0430\u0336 \u0336\u0447\u0336\u0438\u0336\u0441\u0336\u0442\u0336\u043e\u0336\u0433\u0336\u043e\u0336 \u0336\u044d\u0336\u0444\u0336\u0438\u0336\u0440\u0336\u0430\u0336,\u0336 \u0336\u0438\u0336 \u03361\u03362\u0336 \u0336\u043f\u0336\u0443\u0336\u0437\u0336\u044b\u0336\u0440\u0336\u044c\u0336\u043a\u0336\u043e\u0336\u0432\u0336 \u0336\u0430\u0336\u043c\u0336\u0438\u0336\u043b\u0336\u043d\u0336\u0438\u0336\u0442\u0336\u0440\u0336\u0438\u0336\u0442\u0336\u0430\u0336 2 \u043a\u043b\u044e\u0447\u0430 \u0434\u043b\u044f API \u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441, \u0442\u0430\u043a \u0447\u0442\u043e &#8212; \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043a\u043e\u0434\u0438\u0442\u044c.<\/p>\n<p>\u0412\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b (POST) \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 URL, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0432 \u0435\u0433\u043e \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e:<\/p>\n<p><code>natural_url = https:\/\/trackapi.nutritionix.com\/v2\/natural\/nutrients<\/code><\/p>\n<ol>\n<li>\n<p>\u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 requests \u0438 <strong>\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438<\/strong> \u0438\u0437 Content-Type, Application ID \u0438 Application Key:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\">import requests  # \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 headers = {     \"Content-Type\": \"application\/json\",     \"x-app-id\": '672c6c14',     \"x-app-key\": '6f4ba779b23cefe6adf152de7860fc87' }<\/code><\/pre>\n<ol start=\"2\">\n<li>\n<p><strong>\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 timezone (\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 US\/Eastern, \u043f\u043e\u043a\u0430 \u044d\u0442\u043e \u043d\u0435\u0432\u0430\u0436\u043d\u043e):<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\"># \u0422\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430     body = {         \"query\": query,         \"timezone\": \"US\/Eastern\"     }<\/code><\/pre>\n<ol start=\"3\">\n<li>\n<p>\u041e\u0442\u0441\u044b\u043b\u0430\u0435\u043c <strong>POST-\u0437\u0430\u043f\u0440\u043e\u0441<\/strong> \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 <a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">Nutritionix<\/a>, \u043a\u0443\u0434\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c URL, \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0438 \u0442\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u0430 \u0435\u0433\u043e \u043e\u0442\u0432\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e response:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\"># \u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 POST-\u0437\u0430\u043f\u0440\u043e\u0441\u0430   response = requests.post(natural_url, json=body, headers=headers)<\/code><\/pre>\n<ol start=\"4\">\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 \u0443\u0434\u0430\u043b\u0441\u044f \u0438 <strong>\u0432\u0435\u0440\u043d\u0443\u043b <\/strong><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%BE%D0%B4%D0%BE%D0%B2_%D1%81%D0%BE%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D1%8F_HTTP#200\" rel=\"noopener noreferrer nofollow\"><strong>\u043a\u043e\u0434 200<\/strong><\/a> (OK), \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0435\u0433\u043e \u0432 JSON \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u043a\u043b\u044e\u0447\u0443 &#8216;foods&#8217;, \u0433\u0434\u0435 \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u043b\u0435\u0436\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0443:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\">if response.status_code == 200:   data = response.json()   foods = data[\"foods\"]<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043a\u043b\u0430\u0441\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u0412 \u0435\u0433\u043e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b:<\/p>\n<pre><code class=\"python\">class NutritionixFood:     def __init__(self, food:dict) -> None:         self.food_name = food.get('food_name')         self.brand_name = food.get('brand_name')         self.serving_qty = food.get('serving_qty')         self.serving_weight_grams = food.get('serving_weight_grams')         self.nf_calories = food.get('nf_calories')         self.nf_total_fat = food.get('nf_total_fat')         self.nf_saturated_fat = food.get('nf_saturated_fat')         self.nf_cholesterol = food.get('nf_cholesterol')         self.nf_total_carbohydrate = food.get('nf_total_carbohydrate')         self.nf_dietary_fiber = food.get('nf_dietary_fiber')         self.nf_sugars = food.get('nf_sugars')         self.nf_protein = food.get('nf_protein')         self.nf_potassium = food.get('nf_potassium')         self.nf_p = food.get('nf_p')         self.full_nutrients = food.get('full_nutrients')         self.photo_url = food.get('photo', {}).get('highres')         self.barcode = food.get('upc')<\/code><\/pre>\n<ol start=\"5\">\n<li>\n<p>\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0430 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 <strong>\u043a\u043b\u0430\u0441\u0441\u0430 NutritionixFood<\/strong>. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430.<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\">result = [NutritionixFood(food) for food in foods]<\/code><\/pre>\n<p>\u0413\u043e\u0442\u043e\u0432\u043e! \u0412\u0435\u0441\u044c \u043a\u043e\u0434 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431:<\/p>\n<p><a href=\"https:\/\/github.com\/Molot999\/Nutritionix\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/Molot999\/Nutritionix<\/a><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u044d\u0442\u043e \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <a href=\"https:\/\/pypi.org\/project\/pyTelegramBotAPI\/\" rel=\"noopener noreferrer nofollow\">telebot<\/a>:<\/p>\n<ol>\n<li>\n<p><strong>\u0417\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c <\/strong>\u0432\u0432\u043e\u0434 \u0442\u0435\u043a\u0441\u0442\u0430 \u0441 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u044a\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438<\/strong> \u0442\u0435\u043a\u0441\u0442 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c<\/strong> \u0442\u0435\u043a\u0441\u0442 \u0447\u0435\u0440\u0435\u0437 API Nutritionix<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c<\/strong> \u043e\u0442\u0432\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/p>\n<\/li>\n<li>\n<p><strong>&#171;\u041a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c&#187;<\/strong> \u043e\u0442\u0432\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043a\u043b\u0430\u0441\u0441\u0430 NutritionixFood<\/p>\n<\/li>\n<li>\n<p><strong>\u0412\u044b\u0432\u0435\u0441\u0442\u0438<\/strong> \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, <strong>\u043f\u0435\u0440\u0435\u0432\u0435\u0434\u044f<\/strong> \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0441 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439:<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f9c\/0ab\/38e\/f9c0ab38eb751e3283fb6d09376f3adf.png\" width=\"506\" height=\"260\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f9c\/0ab\/38e\/f9c0ab38eb751e3283fb6d09376f3adf.png\"\/><\/figure>\n<h2>\u0414\u044c\u044f\u0432\u043e\u043b \u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0432 \u0434\u0435\u0442\u0430\u043b\u044f\u0445<\/h2>\n<p>\u041a\u0430\u043a \u044f \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u0432\u044b\u0448\u0435, \u043a\u0440\u043e\u043c\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043f\u0438\u0449\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043d\u0430\u0441 \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 (\u041a\u0411\u0416\u0423), \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0449\u0435 \u043a\u0443\u0447\u0443 \u0434\u0440\u0443\u0433\u0438\u0445. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0430\u0445\u0430\u0440 \u0438\u043b\u0438 \u043a\u0430\u043b\u0438\u0439, \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u0445 \u043a\u043b\u0430\u0441\u0441\u0430 \u0432 \u0433\u043e\u0442\u043e\u0432\u043e\u043c \u0432\u0438\u0434\u0435 (nf_sugars \u0438 nf_potassium \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e), \u043d\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0435 <strong>full_nutrients<\/strong> \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439, \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043b\u044e\u0447\u0438:<\/p>\n<ul>\n<li>\n<p>ID \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0430<\/p>\n<\/li>\n<li>\n<p>\u0415\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 &#171;3 boiled eggs&#187; \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code>[     {\"attr_id\": 203, \"value\": 18.87},     {\"attr_id\": 204, \"value\": 15.915},     {\"attr_id\": 205, \"value\": 1.68},     {\"attr_id\": 207, \"value\": 1.62},     {\"attr_id\": 208, \"value\": 232.5},     {\"attr_id\": 221, \"value\": 0},     {\"attr_id\": 255, \"value\": 111.93},     {\"attr_id\": 262, \"value\": 0},     {\"attr_id\": 263, \"value\": 0},     {\"attr_id\": 268, \"value\": 973.5},     {\"attr_id\": 269, \"value\": 1.68},     {\"attr_id\": 291, \"value\": 0},     {\"attr_id\": 301, \"value\": 75},     {\"attr_id\": 303, \"value\": 1.785},     {\"attr_id\": 304, \"value\": 15},     {\"attr_id\": 305, \"value\": 258},     {\"attr_id\": 306, \"value\": 189},     {\"attr_id\": 307, \"value\": 186},     {\"attr_id\": 309, \"value\": 1.575},     {\"attr_id\": 312, \"value\": 0.0195},     {\"attr_id\": 313, \"value\": 7.2},     {\"attr_id\": 315, \"value\": 0.039},     {\"attr_id\": 317, \"value\": 46.2},     {\"attr_id\": 318, \"value\": 780},     {\"attr_id\": 319, \"value\": 222},     {\"attr_id\": 320, \"value\": 223.5},     {\"attr_id\": 321, \"value\": 16.5},     {\"attr_id\": 322, \"value\": 0},     {\"attr_id\": 323, \"value\": 1.545},     {\"attr_id\": 324, \"value\": 130.5},     {\"attr_id\": 326, \"value\": 3.3},     {\"attr_id\": 328, \"value\": 3.3},     {\"attr_id\": 334, \"value\": 15},     {\"attr_id\": 337, \"value\": 0},     {\"attr_id\": 338, \"value\": 529.5},     {\"attr_id\": 401, \"value\": 0},     {\"attr_id\": 404, \"value\": 0.099},     {\"attr_id\": 405, \"value\": 0.7695},     {\"attr_id\": 406, \"value\": 0.096},     {\"attr_id\": 410, \"value\": 2.097},     {\"attr_id\": 415, \"value\": 0.1815},     {\"attr_id\": 417, \"value\": 66},     {\"attr_id\": 418, \"value\": 1.665},     {\"attr_id\": 421, \"value\": 440.7},     {\"attr_id\": 430, \"value\": 0.45},     {\"attr_id\": 431, \"value\": 0},     {\"attr_id\": 432, \"value\": 66},     {\"attr_id\": 435, \"value\": 66},     {\"attr_id\": 454, \"value\": 0.9},     {\"attr_id\": 501, \"value\": 0.2295},     {\"attr_id\": 502, \"value\": 0.906},     {\"attr_id\": 503, \"value\": 1.029},     {\"attr_id\": 504, \"value\": 1.6125},     {\"attr_id\": 505, \"value\": 1.356},     {\"attr_id\": 506, \"value\": 0.588},     {\"attr_id\": 507, \"value\": 0.438},     {\"attr_id\": 508, \"value\": 1.002},     {\"attr_id\": 509, \"value\": 0.7695},     {\"attr_id\": 510, \"value\": 1.1505},     {\"attr_id\": 511, \"value\": 1.1325},     {\"attr_id\": 512, \"value\": 0.447},     {\"attr_id\": 513, \"value\": 1.05},     {\"attr_id\": 514, \"value\": 1.896},     {\"attr_id\": 515, \"value\": 2.466},     {\"attr_id\": 516, \"value\": 0.6345},     {\"attr_id\": 517, \"value\": 0.7515},     {\"attr_id\": 518, \"value\": 1.404},     {\"attr_id\": 601, \"value\": 559.5},     {\"attr_id\": 606, \"value\": 4.9005},     {\"attr_id\": 607, \"value\": 0},     {\"attr_id\": 608, \"value\": 0},     {\"attr_id\": 609, \"value\": 0.0045},     {\"attr_id\": 610, \"value\": 0.0045},     {\"attr_id\": 611, \"value\": 0.0045},     {\"attr_id\": 612, \"value\": 0.0525},     {\"attr_id\": 613, \"value\": 3.5235},     {\"attr_id\": 614, \"value\": 1.242},     {\"attr_id\": 617, \"value\": 5.5875},     {\"attr_id\": 618, \"value\": 1.782},     {\"attr_id\": 619, \"value\": 0.0525},     {\"attr_id\": 620, \"value\": 0.2235},     {\"attr_id\": 621, \"value\": 0.057},     {\"attr_id\": 626, \"value\": 0.465},     {\"attr_id\": 627, \"value\": 0},     {\"attr_id\": 628, \"value\": 0.045},     {\"attr_id\": 629, \"value\": 0.0075},     {\"attr_id\": 630, \"value\": 0.0045},     {\"attr_id\": 631, \"value\": 0},     {\"attr_id\": 645, \"value\": 6.1155},     {\"attr_id\": 646, \"value\": 2.121}, ]<\/code><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c attr_id \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c &#171;\u0432\u0435\u0449\u0435\u0441\u0442\u0432\u043e\u043c&#187; \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/14ssR3_vFYrVAidDLJoio07guZM80SMR5nxdGpAX-1-A\/edit#gid=309222162\" rel=\"noopener noreferrer nofollow\"><strong>\u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/strong><\/a>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0ef\/c6d\/34a\/0efc6d34a3ff7168e6d43d75f7f48c9e.png\" alt=\"\" title=\"\" width=\"1454\" height=\"902\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0ef\/c6d\/34a\/0efc6d34a3ff7168e6d43d75f7f48c9e.png\"\/><\/figure>\n<p>\u0417\u0434\u0435\u0441\u044c \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u043b\u0438\u0448\u044c \u0441\u0430\u043c\u044b\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438: A (ID), D (\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435) \u0438 E (\u0435\u0434\u0438\u043d\u0438\u0446\u0430 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f). \u0414\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/14ssR3_vFYrVAidDLJoio07guZM80SMR5nxdGpAX-1-A\/edit#gid=309222162\" rel=\"noopener noreferrer nofollow\">\u0434\u0430\u043d\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443<\/a> \u0432 Excel, \u0430 \u0443\u0436\u0435 \u0438\u0437 \u043d\u0435\u0433\u043e \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0432\u0441\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u043e \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0411\u0414. \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0442\u0435\u0433 <a href=\"https:\/\/www.usda.gov\/\" rel=\"noopener noreferrer nofollow\">USDA<\/a> (\u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u0433\u0434\u0430-\u0442\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f) \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a\u043e\u043b\u043e\u043d\u043a\u0443 ru_name, \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u043e\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 &#171;\u0437\u0430\u043f\u0438\u0445\u043d\u0443\u0442\u044c&#187; \u0440\u0443\u0441\u0441\u043a\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0430, \u043f\u0440\u043e\u0433\u043d\u0430\u0432 \u043a\u043e\u043b\u043e\u043d\u043a\u0443 <strong>name<\/strong>, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 <a href=\"https:\/\/pypi.org\/project\/googletrans\/\" rel=\"noopener noreferrer nofollow\">googletrans<\/a>.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/34a\/22f\/024\/34a22f024b84bc807ef67e064237b006.png\" width=\"932\" height=\"574\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/34a\/22f\/024\/34a22f024b84bc807ef67e064237b006.png\"\/><\/figure>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0432 \u044d\u0442\u043e\u0439 \u0436\u0435 <a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/14ssR3_vFYrVAidDLJoio07guZM80SMR5nxdGpAX-1-A\/edit#gid=309222162\" rel=\"noopener noreferrer nofollow\">\u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/a> \u043d\u0430 2 \u043b\u0438\u0441\u0442\u0435 \u0435\u0441\u0442\u044c <a href=\"https:\/\/www.fda.gov\/media\/99069\/download\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442<\/a> \u043e\u0442 FDA (\u0410\u0433\u0435\u043d\u0442\u0441\u0442\u0432\u043e \u041c\u0438\u043d\u0438\u0441\u0442\u0435\u0440\u0441\u0442\u0432\u0430 \u0437\u0434\u0440\u0430\u0432\u043e\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0438 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u0443\u0436\u0431 \u0421\u0428\u0410), \u0433\u0434\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b <strong>\u043d\u043e\u0440\u043c\u044b \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u043e\u0432<\/strong>. \u0417\u0434\u0435\u0441\u044c \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u043a\u043e\u043b\u043e\u043d\u043a\u0430 3 (\u0432\u0437\u0440\u043e\u0441\u043b\u044b\u0435 \u0438 \u0434\u0435\u0442\u0438 >= 4 \u043b\u0435\u0442),\u043d\u0443 \u0430 \u043a\u043e\u0433\u043e-\u0442\u043e 6 (\u0431\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438 \u043a\u043e\u0440\u043c\u044f\u0449\u0438\u0435 \u0436\u0435\u043d\u0449\u0438\u043d\u044b).<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0e1\/dbc\/a5c\/0e1dbca5ce7f4da6deb16d89e5a574ad.png\" alt=\"\" title=\"\" width=\"830\" height=\"590\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0e1\/dbc\/a5c\/0e1dbca5ce7f4da6deb16d89e5a574ad.png\"\/><\/figure>\n<p>\u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u043a\u043e\u0434\u0443 \u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043a\u043b\u0430\u0441\u0441, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u0430\u0436\u0434\u044b\u0439 \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442:<\/p>\n<pre><code class=\"python\">class NutritionixNutrient:     def __init__(self, usda_tag, name, unit, ru_name) -> None:         self.usda_tag = usda_tag         self.name = name         self.ru_name = ru_name         self.unit = unit         self.value = None<\/code><\/pre>\n<p>\u0418 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043f\u043e \u0442\u043e\u043c\u0443 \u0441\u0430\u043c\u043e\u043c\u0443 \u0441\u043f\u0438\u0441\u043a\u0443 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439<\/p>\n<pre><code class=\"python\">[     {\"attr_id\": 203, \"value\": 18.87},     {\"attr_id\": 204, \"value\": 15.915},     {\"attr_id\": 205, \"value\": 1.68},     {\"attr_id\": 207, \"value\": 1.62},     {\"attr_id\": 208, \"value\": 232.5},   ... ]<\/code><\/pre>\n<p>\u041f\u043e\u0434\u043e\u0431\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"python\"># \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 \u0438\u0437 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 NutritionixFood full_nutrients = food.get('full_nutrients') # \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0443\u0441\u0442\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 NutritionixNutrient food_nutrients = [] # \u041f\u0440\u043e\u0445\u043e\u0434\u0438\u043c\u0441\u044f \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0441\u043b\u043e\u0432\u0430\u0440\u044e \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 for nutrient in full_nutrients:   # \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u0437 \u0411\u0414 \u0438\u043d\u0444\u043e \u043e \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0435 \u043f\u043e attr_id \u0438 \u043f\u0438\u0445\u0430\u0435\u043c \u0435\u0435 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 NutritionixNutrient   food_nutrient = NutritionixNutrient(db.get_nutritionix_nutrient_info(nutrient_info.get('attr_id')))   # \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0430   food_nutrient.value = nutrient_info.get('value')   # \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 NutritionixNutrient \u0432 \u0441\u043f\u0438\u0441\u043e\u043a   food_nutrients.append(food_nutrient)    # \u0410 \u0442\u0443\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043c \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u0441 food_nutrients<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5d2\/c9c\/d31\/5d2c9cd31ec019bbb087ca11c6625040.png\" alt=\"\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 NutritionixNutrient\" title=\"\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 NutritionixNutrient\" width=\"1042\" height=\"592\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5d2\/c9c\/d31\/5d2c9cd31ec019bbb087ca11c6625040.png\"\/><\/p>\n<div><figcaption>\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 NutritionixNutrient<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043a\u043b\u0430\u0441\u0441\u0430 NutritionixNutrient, \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0435 \u0438\u0437 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430. \u0410 \u0438\u043c\u0435\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431\u043e \u0432\u0441\u0435\u0445 \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0430\u0445, \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0430 \u0443\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434\u044b \u043e \u0435\u0433\u043e \u0434\u0438\u0435\u0442\u0435 (\u043c\u043d\u043e\u0433\u043e \u0441\u043e\u043b\u0438, \u043c\u0430\u043b\u043e \u0432\u0438\u0442\u0430\u043c\u0438\u043d\u0430 B \u0438 \u0442.\u0434.) \u0438 \u0434\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438, \u043e\u043f\u0438\u0440\u0430\u044f\u0441\u044c \u043d\u0430 <a href=\"https:\/\/www.fda.gov\/media\/99069\/download\" rel=\"noopener noreferrer nofollow\">\u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u043e\u0440\u043c\u044b FDA<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/www.rospotrebnadzor.ru\/upload\/iblock\/789\/1.-mr-2.3.1.0253_21-normy-pishchevykh-veshchestv.pdf\" rel=\"noopener noreferrer nofollow\">\u043d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435<\/a>.<\/p>\n<p>\u0417\u0430\u0442\u0435\u0441\u0442\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u043e\u0436\u0435\u0442\u0435 \u0432 <a href=\"https:\/\/t.me\/lifestyle_tracker_bot\" rel=\"noopener noreferrer nofollow\">\u0434\u0430\u043d\u043d\u043e\u043c \u0447\u0430\u0442-\u0431\u043e\u0442\u0435<\/a> \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e.<\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0430 \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442\u044c \u0436\u0438\u0437\u043d\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0438 \u0434\u0430\u0442\u044c \u0435\u043c\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0441\u043e \u0432\u0441\u0435\u043c \u0441\u044a\u0435\u0434\u0435\u043d\u043d\u044b\u043c? \u041f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e\u0431 \u044d\u0442\u043e \u0432 \u0447\u0430\u0441\u0442\u0438 \u21163&#8230;<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/751222\/\"> https:\/\/habr.com\/ru\/articles\/751222\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 1 \u0447\u0430\u0441\u0442\u044c, \u0433\u0434\u0435 \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043e \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0430\u0445:<\/p>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/750656\/\" rel=\"noopener noreferrer nofollow\">https:\/\/habr.com\/ru\/articles\/750656\/<\/a><\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u0447\u0430\u0442-\u0431\u043e\u0442\u0430 &#8212; <strong>\u0434\u043d\u0435\u0432\u043d\u0438\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f<\/strong> (\u043e\u043d \u0436\u0435 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a\u0430\u043b\u043e\u0440\u0438\u0439).<\/p>\n<h2>\u0427\u0442\u043e \u043f\u043e \u0411\u0414?<\/h2>\n<p>\u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0411\u0414 \u0441 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0443\u043f\u0440\u0430\u0436\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0434\u0435\u0441\u044c \u0435\u0441\u0442\u044c \u0438\u0437 \u0447\u0435\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u0443\u0447\u0430 \u0431\u0430\u0437 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043f\u043e API, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/ru.openfoodfacts.org\/\" rel=\"noopener noreferrer nofollow\">Open Food Facts<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/platform.fatsecret.com\/api\/\" rel=\"noopener noreferrer nofollow\">Fatsecret<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/fdc.nal.usda.gov\/api-guide.html\" rel=\"noopener noreferrer nofollow\">FoodData Central<\/a> \u043e\u0442 \u041c\u0438\u043d\u0438\u0441\u0442\u0435\u0440\u0441\u0442\u0432\u0430 \u0441\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0445\u043e\u0437\u044f\u0439\u0441\u0442\u0432\u0430 \u0421\u0428\u0410 + \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0441\u0430\u043c\u0443 \u0411\u0414<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">Nutritionix<\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043d\u0430&#8230; <a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\"><strong>Nutritionix<\/strong><\/a>, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u0430 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u043e\u0434\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u0444\u0438\u0448\u043a\u043e\u0439 &#8212; \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u0422\u043e \u0435\u0441\u0442\u044c, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0441\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441 \u0441\u0442\u0440\u043e\u043a\u0443 \u0432\u0438\u0434\u0430 &#171;3 \u0432\u0430\u0440\u0435\u043d\u044b\u0445 \u044f\u0439\u0446\u0430 \u0438 \u0431\u0430\u043d\u043a\u0430 \u043f\u0438\u0432\u0430&#187;, \u0430 \u0441\u0435\u0440\u0432\u0438\u0441 \u0432\u044b\u0443\u0434\u0438\u0442 \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\/\u0432\u0435\u0441\/\u043e\u0431\u044a\u0435\u043c \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0435\u0441\u043b\u0438 \u043c\u044b \u043d\u0435 \u0443\u043a\u0430\u0436\u0435\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0432\u0435\u0441\/\u043e\u0431\u044a\u0435\u043c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430, \u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0437\u044c\u043c\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435: 1 \u0432\u0430\u0440\u0435\u043d\u043e\u0435 \u044f\u0439\u0446\u043e &#8212; 50 \u0433\u0440\u0430\u043c\u043c \u0438\u043b\u0438 1 \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u0445\u043b\u0435\u0431\u0430 &#8212; 29 \u0433\u0440\u0430\u043c\u043c. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e &#8212; \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0442\u0435\u0441\u0442\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u043d\u0438\u0436\u0435:<\/p>\n<p><a href=\"https:\/\/www.nutritionix.com\/natural-demo\" rel=\"noopener noreferrer nofollow\">https:\/\/www.nutritionix.com\/natural-demo<\/a><\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0443 <a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">Nutritionix<\/a><strong> <\/strong>\u0435\u0441\u0442\u044c \u0438 \u0434\u043b\u044f \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043e\u043a &#8212; \u0432\u0432\u0435\u043b \u043e\u0431\u044a\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0436\u043d\u0435\u043d\u0438\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u043e\u0431\u0435\u0436\u0430\u043b 30 \u043c\u0438\u043d\u0443\u0442) \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u043b\u043e\u0440\u0438\u0439, \u043d\u043e, \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c. <\/p>\n<p>\u041f\u043e\u043c\u0438\u043c\u043e \u043a\u0430\u043b\u043e\u0440\u0438\u0439, \u0431\u0435\u043b\u043a\u043e\u0432, \u0436\u0438\u0440\u043e\u0432 \u0443 \u0443\u0433\u043b\u0435\u0432\u043e\u0434\u043e\u0432 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 &#8212; \u043c\u0438\u043d\u0435\u0440\u0430\u043b\u044b, \u0432\u0438\u0442\u0430\u043c\u0438\u043d\u044b, \u0430\u043b\u043a\u043e\u0433\u043e\u043b\u044c, \u0432\u043e\u0434\u0430, \u0441\u043e\u043b\u044c, \u0441\u0430\u0445\u0430\u0440 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 &#8212; \u0432\u0441\u0435\u0433\u043e <strong>161 \u043f\u043e\u0437\u0438\u0446\u0438\u044f<\/strong>.<\/p>\n<p>\u041d\u043e, \u043a\u0430\u043a \u0432\u044b \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 <strong>\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435<\/strong>. \u041a\u0430\u043a \u044d\u0442\u043e \u043d\u0430\u0441 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442? \u041d\u0438\u043a\u0430\u043a. \u0427\u0442\u043e \u0436\u0435 \u0442\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u0442\u044c? \u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c&#8230;<\/p>\n<h2>\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 (\u043d\u0435\u0442) \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430<\/h2>\n<p>\u041f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0430 &#171;2 \u043f\u043e\u043c\u0438\u0434\u043e\u0440\u0430, \u043b\u043e\u0436\u043a\u0430 \u043e\u043b\u0438\u0432\u043a\u043e\u0432\u043e\u0433\u043e \u043c\u0430\u0441\u043b\u0430 \u0438 \u0437\u0443\u0431\u0447\u0438\u043a \u0447\u0435\u0441\u043d\u043e\u043a\u0430&#187; \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043e\u043d\u043b\u0430\u0439\u043d-\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a \u0438 Python-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043f\u043e\u0434 \u043d\u0435\u0433\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"https:\/\/pypi.org\/project\/googletrans\/\" rel=\"noopener noreferrer nofollow\">googletrans <\/a>\u0434\u043b\u044f Google \u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430.<\/p>\n<p>\u0428\u0430\u0433 1. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443<\/p>\n<pre><code class=\"typescript\">pip install googletrans<\/code><\/pre>\n<p>\u0428\u0430\u0433 2. \u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c<\/p>\n<pre><code class=\"python\">from googletrans import Translator  def translate_from_rus_to_eng(text):     translator = Translator()     translated = translator.translate(text, src='ru', dest='en')     return translated.text<\/code><\/pre>\n<h2>\u041a\u043b\u044e\u0447\u0438 \u043a \u0443\u0441\u043f\u0435\u0445\u0443  <\/h2>\n<p>\u0418\u0442\u0430\u043a, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0432\u0435\u043b, \u043c\u044b \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0438, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u043a <a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">Nutritionix<\/a>. \u041e\u0434\u043d\u0430\u043a\u043e, \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u0447\u043a\u0443 \u043a\u043b\u044e\u0447\u0435\u0439 \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043f\u043e <a href=\"https:\/\/developer.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">\u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435<\/a>, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c Application ID \u0438 Application Key.<\/p>\n<figure class=\"full-width\"><\/figure>\n<h2>\u041a\u043e\u0434 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f &#8212; \u0431\u043e\u0442 \u043c\u0443\u0442\u0438\u0442\u0441\u044f<\/h2>\n<p>\u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0336\u0432\u0336\u0430\u0336 \u0336\u043f\u0336\u0430\u0336\u043a\u0336\u0435\u0336\u0442\u0336\u0438\u0336\u043a\u0336\u0430\u0336 \u0336\u0442\u0336\u0440\u0336\u0430\u0336\u0432\u0336\u044b\u0336,\u0336 \u0336\u0441\u0336\u0435\u0336\u043c\u0336\u044c\u0336\u0434\u0336\u0435\u0336\u0441\u0336\u044f\u0336\u0442\u0336 \u0336\u043f\u0336\u044f\u0336\u0442\u0336\u044c\u0336 \u0336\u0430\u0336\u043c\u0336\u043f\u0336\u0443\u0336\u043b\u0336 \u0336\u043c\u0336\u0435\u0336\u0441\u0336\u043a\u0336\u0430\u0336\u043b\u0336\u0438\u0336\u043d\u0336\u0430\u0336,\u0336 \u03365\u0336 \u0336\u043f\u0336\u0430\u0336\u043a\u0336\u0435\u0336\u0442\u0336\u0438\u0336\u043a\u0336\u043e\u0336\u0432\u0336 \u0336\u0434\u0336\u0438\u0336\u044d\u0336\u0442\u0336\u0438\u0336\u043b\u0336\u0430\u0336\u043c\u0336\u0438\u0336\u0434\u0336\u0430\u0336 \u0336\u043b\u0336\u0438\u0336\u0437\u0336\u0435\u0336\u0440\u0336\u0433\u0336\u0438\u0336\u043d\u0336\u043e\u0336\u0432\u0336\u043e\u0336\u0439\u0336 \u0336\u043a\u0336\u0438\u0336\u0441\u0336\u043b\u0336\u043e\u0336\u0442\u0336\u044b\u0336 \u0336\u0438\u0336\u043b\u0336\u0438\u0336 \u0336\u041b\u0336\u0421\u0336\u0414\u0336,\u0336 \u0336\u0441\u0336\u043e\u0336\u043b\u0336\u043e\u0336\u043d\u0336\u043a\u0336\u0430\u0336,\u0336 \u0336\u043d\u0336\u0430\u0336\u043f\u0336\u043e\u0336\u043b\u0336\u043e\u0336\u0432\u0336\u0438\u0336\u043d\u0336\u0443\u0336 \u0336\u043d\u0336\u0430\u0336\u043f\u0336\u043e\u0336\u043b\u0336\u043d\u0336\u0435\u0336\u043d\u0336\u043d\u0336\u0430\u0336\u044f\u0336 \u0336\u043a\u0336\u043e\u0336\u043a\u0336\u0430\u0336\u0438\u0336\u043d\u0336\u043e\u0336\u043c\u0336,\u0336 \u0336\u0438\u0336 \u0336\u0446\u0336\u0435\u0336\u043b\u0336\u043e\u0336\u0435\u0336 \u0336\u043c\u0336\u043e\u0336\u0440\u0336\u0435\u0336 \u0336\u0440\u0336\u0430\u0336\u0437\u0336\u043d\u0336\u043e\u0336\u0446\u0336\u0432\u0336\u0435\u0336\u0442\u0336\u043d\u0336\u044b\u0336\u0445\u0336 \u0336\u0430\u0336\u043c\u0336\u0444\u0336\u0435\u0336\u0442\u0336\u0430\u0336\u043c\u0336\u0438\u0336\u043d\u0336\u043e\u0336\u0432\u0336,\u0336 \u0336\u0431\u0336\u0430\u0336\u0440\u0336\u0431\u0336\u0438\u0336\u0442\u0336\u0443\u0336\u0440\u0336\u0430\u0336\u0442\u0336\u043e\u0336\u0432\u0336 \u0336\u0438\u0336 \u0336\u0442\u0336\u0440\u0336\u0430\u0336\u043d\u0336\u043a\u0336\u0432\u0336\u0438\u0336\u043b\u0336\u0438\u0336\u0437\u0336\u0430\u0336\u0442\u0336\u043e\u0336\u0440\u0336\u043e\u0336\u0432\u0336,\u0336 \u0336\u0430\u0336 \u0336\u0442\u0336\u0430\u0336\u043a\u0336 \u0336\u0436\u0336\u0435\u0336 \u0336\u043b\u0336\u0438\u0336\u0442\u0336\u0440\u0336 \u0336\u0442\u0336\u0435\u0336\u043a\u0336\u0438\u0336\u043b\u0336\u044b\u0336,\u0336 \u0336\u043b\u0336\u0438\u0336\u0442\u0336\u0440\u0336 \u0336\u0440\u0336\u043e\u0336\u043c\u0336\u0430\u0336,\u0336 \u0336\u044f\u0336\u0449\u0336\u0438\u0336\u043a\u0336 \u0336\u00ab\u0336\u0411\u0336\u0430\u0336\u0434\u0336\u0432\u0336\u0430\u0336\u0439\u0336\u0437\u0336\u0435\u0336\u0440\u0336\u0430\u0336\u00bb\u0336,\u0336 \u0336\u043f\u0336\u0438\u0336\u043d\u0336\u0442\u0336\u0430\u0336 \u0336\u0447\u0336\u0438\u0336\u0441\u0336\u0442\u0336\u043e\u0336\u0433\u0336\u043e\u0336 \u0336\u044d\u0336\u0444\u0336\u0438\u0336\u0440\u0336\u0430\u0336,\u0336 \u0336\u0438\u0336 \u03361\u03362\u0336 \u0336\u043f\u0336\u0443\u0336\u0437\u0336\u044b\u0336\u0440\u0336\u044c\u0336\u043a\u0336\u043e\u0336\u0432\u0336 \u0336\u0430\u0336\u043c\u0336\u0438\u0336\u043b\u0336\u043d\u0336\u0438\u0336\u0442\u0336\u0440\u0336\u0438\u0336\u0442\u0336\u0430\u0336 2 \u043a\u043b\u044e\u0447\u0430 \u0434\u043b\u044f API \u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441, \u0442\u0430\u043a \u0447\u0442\u043e &#8212; \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043a\u043e\u0434\u0438\u0442\u044c.<\/p>\n<p>\u0412\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b (POST) \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 URL, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0432 \u0435\u0433\u043e \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e:<\/p>\n<p><code>natural_url = https:\/\/trackapi.nutritionix.com\/v2\/natural\/nutrients<\/code><\/p>\n<ol>\n<li>\n<p>\u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 requests \u0438 <strong>\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438<\/strong> \u0438\u0437 Content-Type, Application ID \u0438 Application Key:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\">import requests  # \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 headers = {     \"Content-Type\": \"application\/json\",     \"x-app-id\": '672c6c14',     \"x-app-key\": '6f4ba779b23cefe6adf152de7860fc87' }<\/code><\/pre>\n<ol start=\"2\">\n<li>\n<p><strong>\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 timezone (\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 US\/Eastern, \u043f\u043e\u043a\u0430 \u044d\u0442\u043e \u043d\u0435\u0432\u0430\u0436\u043d\u043e):<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\"># \u0422\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430     body = {         \"query\": query,         \"timezone\": \"US\/Eastern\"     }<\/code><\/pre>\n<ol start=\"3\">\n<li>\n<p>\u041e\u0442\u0441\u044b\u043b\u0430\u0435\u043c <strong>POST-\u0437\u0430\u043f\u0440\u043e\u0441<\/strong> \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 <a href=\"https:\/\/www.nutritionix.com\/\" rel=\"noopener noreferrer nofollow\">Nutritionix<\/a>, \u043a\u0443\u0434\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c URL, \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0438 \u0442\u0435\u043b\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u0430 \u0435\u0433\u043e \u043e\u0442\u0432\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e response:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\"># \u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 POST-\u0437\u0430\u043f\u0440\u043e\u0441\u0430   response = requests.post(natural_url, json=body, headers=headers)<\/code><\/pre>\n<ol start=\"4\">\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 \u0443\u0434\u0430\u043b\u0441\u044f \u0438 <strong>\u0432\u0435\u0440\u043d\u0443\u043b <\/strong><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%BE%D0%B4%D0%BE%D0%B2_%D1%81%D0%BE%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D1%8F_HTTP#200\" rel=\"noopener noreferrer nofollow\"><strong>\u043a\u043e\u0434 200<\/strong><\/a> (OK), \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0435\u0433\u043e \u0432 JSON \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u043a\u043b\u044e\u0447\u0443 &#8216;foods&#8217;, \u0433\u0434\u0435 \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u043b\u0435\u0436\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0443:<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\">if response.status_code == 200:   data = response.json()   foods = data[\"foods\"]<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043a\u043b\u0430\u0441\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u0412 \u0435\u0433\u043e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b:<\/p>\n<pre><code class=\"python\">class NutritionixFood:     def __init__(self, food:dict) -> None:         self.food_name = food.get('food_name')         self.brand_name = food.get('brand_name')         self.serving_qty = food.get('serving_qty')         self.serving_weight_grams = food.get('serving_weight_grams')         self.nf_calories = food.get('nf_calories')         self.nf_total_fat = food.get('nf_total_fat')         self.nf_saturated_fat = food.get('nf_saturated_fat')         self.nf_cholesterol = food.get('nf_cholesterol')         self.nf_total_carbohydrate = food.get('nf_total_carbohydrate')         self.nf_dietary_fiber = food.get('nf_dietary_fiber')         self.nf_sugars = food.get('nf_sugars')         self.nf_protein = food.get('nf_protein')         self.nf_potassium = food.get('nf_potassium')         self.nf_p = food.get('nf_p')         self.full_nutrients = food.get('full_nutrients')         self.photo_url = food.get('photo', {}).get('highres')         self.barcode = food.get('upc')<\/code><\/pre>\n<ol start=\"5\">\n<li>\n<p>\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0430 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 <strong>\u043a\u043b\u0430\u0441\u0441\u0430 NutritionixFood<\/strong>. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430.<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"python\">result = [NutritionixFood(food) for food in foods]<\/code><\/pre>\n<p>\u0413\u043e\u0442\u043e\u0432\u043e! \u0412\u0435\u0441\u044c \u043a\u043e\u0434 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431:<\/p>\n<p><a href=\"https:\/\/github.com\/Molot999\/Nutritionix\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/Molot999\/Nutritionix<\/a><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u044d\u0442\u043e \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <a href=\"https:\/\/pypi.org\/project\/pyTelegramBotAPI\/\" rel=\"noopener noreferrer nofollow\">telebot<\/a>:<\/p>\n<ol>\n<li>\n<p><strong>\u0417\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c <\/strong>\u0432\u0432\u043e\u0434 \u0442\u0435\u043a\u0441\u0442\u0430 \u0441 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u044a\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438<\/strong> \u0442\u0435\u043a\u0441\u0442 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c<\/strong> \u0442\u0435\u043a\u0441\u0442 \u0447\u0435\u0440\u0435\u0437 API Nutritionix<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c<\/strong> \u043e\u0442\u0432\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/p>\n<\/li>\n<li>\n<p><strong>&#171;\u041a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c&#187;<\/strong> \u043e\u0442\u0432\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043a\u043b\u0430\u0441\u0441\u0430 NutritionixFood<\/p>\n<\/li>\n<li>\n<p><strong>\u0412\u044b\u0432\u0435\u0441\u0442\u0438<\/strong> \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, <strong>\u043f\u0435\u0440\u0435\u0432\u0435\u0434\u044f<\/strong> \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0441 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439:<\/p>\n<\/li>\n<\/ol>\n<figure class=\"\"><\/figure>\n<h2>\u0414\u044c\u044f\u0432\u043e\u043b \u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0432 \u0434\u0435\u0442\u0430\u043b\u044f\u0445<\/h2>\n<p>\u041a\u0430\u043a \u044f \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u0432\u044b\u0448\u0435, \u043a\u0440\u043e\u043c\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043f\u0438\u0449\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043d\u0430\u0441 \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 (\u041a\u0411\u0416\u0423), \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0449\u0435 \u043a\u0443\u0447\u0443 \u0434\u0440\u0443\u0433\u0438\u0445. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0430\u0445\u0430\u0440 \u0438\u043b\u0438 \u043a\u0430\u043b\u0438\u0439, \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u0445 \u043a\u043b\u0430\u0441\u0441\u0430 \u0432 \u0433\u043e\u0442\u043e\u0432\u043e\u043c \u0432\u0438\u0434\u0435 (nf_sugars \u0438 nf_potassium \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e), \u043d\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0435 <strong>full_nutrients<\/strong> \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439, \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043b\u044e\u0447\u0438:<\/p>\n<ul>\n<li>\n<p>ID \u043d\u0443\u0442\u0440\u0438\u0435\u043d\u0442\u0430<\/p>\n<\/li>\n<li>\n<p>\u0415\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 &#171;3 boiled eggs&#187; \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code>[     {\"attr_id\": 203, \"value\": 18.87},     {\"attr_id\": 204, \"value\": 15.915},     {\"attr_id\": 205, \"value\": 1.68},     {\"attr_id\": 207, \"value\": 1.62},     {\"attr_id\": 208, \"value\": 232.5},     {\"attr_id\": 221, \"value\": 0},     {\"attr_id\": 255, \"value\": 111.93},     {\"attr_id\": 262, \"value\": 0},     {\"attr_id\": 263, \"value\": 0},     {\"attr_id\": 268, \"value\": 973.5},     {\"attr_id\": 269, \"value\": 1.68},     {\"attr_id\": 291, \"value\": 0},     {\"attr_id\": 301, \"value\": 75},     {\"attr_id\": 303, \"value\": 1.785},     {\"attr_id\": 304, \"value\": 15},     {\"attr_id\": 305, \"value\": 258},     {\"attr_id\": 306, \"value\": 189},     {\"attr_id\": 307, \"value\": 186},     {\"attr_id\": 309, \"value\": 1.575},     {\"attr_id\": 312, \"value\": 0.0195},     {\"attr_id\": 313, \"value\": 7.2},     {\"attr_id\": 315, \"value\": 0.039},     {\"attr_id\": 317, \"value\": 46.2},     {\"attr_id\": 318, \"value\": 780},     {\"attr_id\": 319, \"value\": 222},     {\"attr_id\": 320, \"value\": 223.5},     {\"attr_id\": 321, \"value\": 16.5},     {\"attr_id\": 322, \"value\": 0},     {\"attr_id\": 323, \"value\": 1.545},     {\"attr_id\": 324, \"value\": 130.5},     {\"attr_id\": 326, \"value\": 3.3},     {\"attr_id\": 328, \"value\": 3.3},     {\"attr_id\": 334, \"value\": 15},     {\"attr_id\": 337, \"value\": 0},     {\"attr_id\": 338, \"value\": 529.5},     {\"attr_id\": 401, \"value\": 0},     {\"attr_id\": 404, \"value\": 0.099},     {\"attr_id\": 405, \"value\": 0.7695},     {\"attr_id\": 406, \"value\": 0.096},     {\"attr_id\": 410, \"value\": 2.097},     {\"attr_id\": 415, \"value\": 0.1815},     {\"attr_id\": 417, \"value\": 66},     {\"attr_id\": 418, \"value\": 1.665},     {\"attr_id\": 421, \"value\": 440.7},     {\"attr_id\": 430, \"value\": 0.45},     {\"attr_id\": 431, \"value\": 0},     {\"attr_id\": 432, \"value\": 66},     {\"attr_id\": 435, \"value\": 66},     {\"attr_id\": 454, \"value\": 0.9},     {\"attr_id\": 501, \"value\": 0.2295},     {\"attr_id\": 502, \"value\": 0.906},     {\"attr_id\": 503, \"value\": 1.029},     {\"attr_id\": 504, \"value\": 1.6125},     {\"attr_id\": 505, \"value\": 1.356},     {\"attr_id\": 506, \"value\": 0.588},     {\"attr_id\": 507, \"value\": 0.438},     {\"attr_id\": 508, \"value\": 1.002},     {\"attr_id\": 509, \"value\": 0.7695},     {\"attr_id\": 510, \"value\": 1.1505},     {\"attr_id\": 511, \"value\": 1.1325},     {\"attr_id\": 512, \"value\": 0.447},     {\"attr_id\": 513, \"value\": 1.05},     {\"attr_id\": 514, \"value\": 1.896},     {\"attr_id\": 515, \"value\": 2.466},     {\"attr_id\": 516, \"value\": 0.6345},     {\"attr_id\": 517, \"value\": 0.7515},     {\"attr_id\": 518, \"value\": 1.404},     {\"attr_id\": 601, \"value\": 559.5},     {\"attr_id\": 606, \"value\": 4.9005},     {\"attr_id\": 607, \"value\": 0},     {\"attr_id\": 608, \"value\": 0},     {\"attr_id\": 609, \"value\": 0.0045},     {\"attr_id\": 610, \"value\": 0.0045},     {\"attr_id\": 611, \"value\": 0.0045},     {\"attr_id\": 612, \"value\": 0.0525},     {\"attr_id\": 613, \"value\": 3.5235},     {\"attr_id\": 614, \"value\": 1.242},     {\"attr_id\": 617, \"value\": 5.5875},     {\"attr_id\": 618, \"value\": 1.782},     {\"attr_id\": 619, \"value\": 0.0525},     {\"attr_id\": 620, \"value\": 0.2235},     {\"attr_id\": 621, \"value\": 0.057},     {\"attr_id\": 626, \"value\": 0.465},     {\"attr_id\": 627, \"value\": 0},     {\"attr_id\": 628, \"value\": 0.045},     {\"attr_id\": 629, \"value\": 0.0075},     {\"attr_id\": 630, \"value\": 0.0045},     {\"attr_id\": 631,<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-350968","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/350968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=350968"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/350968\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=350968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=350968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=350968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}