{"id":306268,"date":"2020-07-02T09:00:10","date_gmt":"2020-07-02T09:00:10","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=306268"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=306268","title":{"rendered":"\u0418\u0449\u0435\u043c \u0444\u0438\u043b\u044c\u043c\u044b, \u043a\u043d\u0438\u0433\u0438 \u0438 \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Python"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/509192\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hl\/yn\/rf\/hlynrf7fmpukq83sp-tlcgwgquo.png\" alt=\"\u041f\u0430\u043a\u0435\u0442 podsearch \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u043e\u0432\"><\/p>\n<p>  <\/p>\n<p>Apple \u043d\u0435\u00a0\u043e\u0441\u043e\u0431\u043e \u0430\u0444\u0438\u0448\u0438\u0440\u0443\u0435\u0442, \u0447\u0442\u043e \u0443 iTunes Store \u0438\u00a0\u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u0435\u0441\u0442\u044c \u043a\u0440\u0438\u0432\u0435\u043d\u044c\u043a\u043e\u0435, \u043d\u043e\u00a0\u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u043e\u0435 API\u00a0\u2014 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f\u00a0\u0440\u0435\u0448\u0438\u043b \u043e\u00a0\u043d\u0451\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u0418\u0437\u00a0\u044d\u0442\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u0432\u044b\u00a0\u0443\u0437\u043d\u0430\u0435\u0442\u0435, \u0447\u0442\u043e API \u0443\u043c\u0435\u0435\u0442 \u0438\u00a0\u043a\u0430\u043a \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h2 id=\"poisk-v-katalogah-apple\">\u041f\u043e\u0438\u0441\u043a \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u0445 Apple<\/h2>\n<p>  <\/p>\n<p>API \u0438\u0449\u0435\u0442 \u043f\u043e\u00a0\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u043c\u0443 iTunes Store, iBooks Store, Apple Podcasts \u0438 App Store. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043f\u0435\u0441\u043d\u0438, \u0444\u0438\u043b\u044c\u043c\u044b, \u043a\u043d\u0438\u0433\u0438, \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u044b \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<p>API \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u00a0\u0434\u0430\u0432\u043d\u043e \u0437\u0430\u0431\u044b\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 <a href=\"https:\/\/en.wikipedia.org\/wiki\/JSONP\" rel=\"nofollow\">JSONP<\/a>, \u0442\u043e\u00a0\u0435\u0441\u0442\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 <code>Content-Type: text\/javascript<\/code> \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e <code>application\/json<\/code>.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">GET \/search?media=podcast&amp;term=python HTTP\/1.1 Host: itunes.apple.com Accept: application\/json  HTTP\/2 200 content-type: text\/javascript; charset=utf-8  {...}<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u044d\u0442\u0443 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">import requests  def search(term, media):     url = &quot;https:\/\/itunes.apple.com\/search&quot;     payload = {&quot;term&quot;: term, &quot;media&quot;: media}     response = requests.get(url, params=payload)     response.raise_for_status()     results = response.json().get(&quot;results&quot;, [])     return results<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">&gt;&gt;&gt; results = search(&quot;python&quot;, media=&quot;podcast&quot;) &gt;&gt;&gt; results[0][&quot;collectionName&quot;] 'Talk Python To Me'<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"parametry-zaprosa\">\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/h2>\n<p>  <\/p>\n<p>\u041f\u043e\u0438\u0441\u043a \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c:<\/p>\n<p>  <\/p>\n<ul>\n<li><code>term<\/code> \u2014 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441, \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440;<\/li>\n<li><code>media<\/code> \u2014 \u0442\u0438\u043f \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f (<code>movie<\/code>, <code>podcast<\/code>, <code>music<\/code>, <code>audiobook<\/code>, <code>software<\/code>, <code>ebook<\/code>, <code>all<\/code>), \u043f\u043e\u00a0\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <code>all<\/code>;<\/li>\n<li><code>country<\/code> \u2014 \u0441\u0442\u0440\u0430\u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f, \u0434\u0432\u0443\u0445\u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0439 ISO-\u043a\u043e\u0434 (<code>us<\/code>, <code>ru<\/code>, &#8230;), \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <code>us<\/code>;<\/li>\n<li><code>limit<\/code> \u2014 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <code>50<\/code>.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">import requests  def search(term, media=&quot;all&quot;, country=&quot;us&quot;, limit=10):     url = &quot;https:\/\/itunes.apple.com\/search&quot;     payload = {&quot;term&quot;: term, &quot;media&quot;: media, &quot;country&quot;: country, &quot;limit&quot;: limit}     response = requests.get(url, params=payload)     response.raise_for_status()     results = response.json().get(&quot;results&quot;, [])     return results<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"otvet\">\u041e\u0442\u0432\u0435\u0442<\/h2>\n<p>  <\/p>\n<p>\u041e\u0431\u0449\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043e\u0442\u0432\u0435\u0442\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"json\">{     &quot;resultCount&quot;: 10,     &quot;results&quot;: [         {             &quot;wrapperType&quot;: &quot;track&quot;,             &quot;kind&quot;: &quot;song&quot;,             &quot;artistId&quot;: 1495668306,             &quot;collectionId&quot;: 527039271,             &quot;trackId&quot;: 527039276,             &quot;artistName&quot;: &quot;Dodge &amp; Fuski&quot;,             &quot;collectionName&quot;: &quot;Never Say Die (Deluxe Edition)&quot;,             &quot;trackName&quot;:&quot;Python&quot;,             ...         },          {             &quot;wrapperType&quot;: &quot;track&quot;,             &quot;kind&quot;: &quot;podcast&quot;,             &quot;collectionId&quot;: 979020229,             &quot;trackId&quot;: 979020229,             &quot;artistName&quot;: &quot;Michael Kennedy (@mkennedy)&quot;,             &quot;collectionName&quot;: &quot;Talk Python To Me&quot;             ...         },         ...     ] }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u043f\u043e\u043b\u0435\u0439 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442\u00a0\u0442\u0438\u043f\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f (<code>kind<\/code>) \u0438\u00a0\u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e \u043d\u0438\u0433\u0434\u0435 \u043d\u0435\u00a0\u043e\u043f\u0438\u0441\u0430\u043d, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e. \u0427\u0430\u0441\u0442\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u044b:<\/p>\n<p>  <\/p>\n<ul>\n<li><code>artistId<\/code> \u2014 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0430\u0432\u0442\u043e\u0440\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f;<\/li>\n<li><code>artistName<\/code> \u2014 \u0430\u0432\u0442\u043e\u0440;<\/li>\n<li><code>artistViewUrl<\/code> \u2014\u00a0\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0430\u0432\u0442\u043e\u0440\u0430 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Apple;<\/li>\n<li><code>collectionId<\/code> \u2014 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0430\u043b\u044c\u0431\u043e\u043c\u0430;<\/li>\n<li><code>collectionName<\/code> \u2014\u00a0\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0430\u043b\u044c\u0431\u043e\u043c\u0430;<\/li>\n<li><code>collectionViewUrl<\/code> \u2014\u00a0\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0430\u043b\u044c\u0431\u043e\u043c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Apple;<\/li>\n<li><code>trackId<\/code> \u2014\u00a0\u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0446\u0438\u0438;<\/li>\n<li><code>trackName<\/code> \u2014\u00a0\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0446\u0438\u0438;<\/li>\n<li><code>artworkUrl100<\/code> \u2014 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u0435\u0432\u044c\u044e\u0448\u043a\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f 100&#215;100 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439;<\/li>\n<li><code>country<\/code> \u2014 \u0441\u0442\u0440\u0430\u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f;<\/li>\n<li><code>primaryGenreName<\/code> \u2014 \u0436\u0430\u043d\u0440 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u043e\u0432 \u044f\u00a0\u0441\u0434\u0435\u043b\u0430\u043b \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043e\u0431\u0451\u0440\u0442\u043a\u0443\u00a0\u2014 \u043f\u0430\u043a\u0435\u0442 <a href=\"https:\/\/github.com\/nalgeon\/podsearch-py\" rel=\"nofollow\">podsearch<\/a>, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u043f\u043e\u043b\u0435\u0439 \u0432\u00a0\u043d\u0451\u043c.<\/p>\n<p>  <\/p>\n<h2 id=\"zapros-poidentifikatoru\">\u0417\u0430\u043f\u0440\u043e\u0441 \u043f\u043e\u00a0\u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0443<\/h2>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (<code>artistId<\/code>, <code>collectionId<\/code>, <code>trackId<\/code>), \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <code>lookup<\/code> \u043f\u043e\u00a0\u043d\u0435\u043c\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">import requests  def lookup(object_id):     url = &quot;https:\/\/itunes.apple.com\/lookup&quot;     payload = {&quot;id&quot;: object_id}     response = requests.get(url, params=payload)     response.raise_for_status()     results = response.json().get(&quot;results&quot;, [])     return results<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">&gt;&gt;&gt; results = lookup(979020229) &gt;&gt;&gt; results[0][&quot;collectionName&quot;] 'Talk Python To Me'<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"nyuansy\">\u041d\u044e\u0430\u043d\u0441\u044b<\/h2>\n<p>  <\/p>\n<p>\u041f\u0440\u043e \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u044b\u0439 Content-Type \u043e\u0442\u0432\u0435\u0442\u0430 \u044f \u0443\u0436\u0435 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u043b. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0421\u0442\u0440\u0430\u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f (<code>country<\/code>) \u0435\u0441\u0442\u044c \u043a\u0430\u043a \u0432\u00a0\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u0442\u0430\u043a \u0438 \u0432\u00a0\u043e\u0442\u0432\u0435\u0442\u0435. \u041d\u043e \u0432\u00a0\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u044d\u0442\u043e \u0434\u0432\u0443\u0445\u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0439 ISO-\u043a\u043e\u0434 (<code>ru<\/code>), \u0430 \u0432\u00a0\u043e\u0442\u0432\u0435\u0442\u0435\u00a0\u2014\u00a0\u0442\u0440\u0451\u0445\u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0439 (<code>RUS<\/code>).<\/li>\n<li>\u0421\u0445\u0435\u043c\u044b \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0435\u00a0\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/li>\n<li>Apple \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0432\u044b\u0437\u043e\u0432\u0430 API 20 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u0432\u00a0\u043c\u0438\u043d\u0443\u0442\u0443.<\/li>\n<\/ul>\n<p>  <\/p>\n<p><a href=\"https:\/\/developer.apple.com\/library\/archive\/documentation\/AudioVideo\/Conceptual\/iTuneSearchAPI\/index.html\" rel=\"nofollow\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 API \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Apple<\/a><br \/>  <a href=\"https:\/\/github.com\/nalgeon\/podsearch-py\" rel=\"nofollow\">\u041f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u0430\u043c<\/a><\/p>\n<p>  <\/p>\n<p><em>\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0448\u0442\u0443\u043a \u043d\u0430\u00a0Python \u2014 \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0439\u0442\u0435\u0441\u044c \u043d\u0430 \u043a\u0430\u043d\u0430\u043b <a href=\"https:\/\/t.me\/ohmypy\" rel=\"nofollow\">@ohmypy<\/a><\/em><\/p>\n<\/div>\n<p> \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\/post\/509192\/\"> https:\/\/habr.com\/ru\/post\/509192\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/509192\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hl\/yn\/rf\/hlynrf7fmpukq83sp-tlcgwgquo.png\" alt=\"\u041f\u0430\u043a\u0435\u0442 podsearch \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u043e\u0432\"><\/p>\n<p>  <\/p>\n<p>Apple \u043d\u0435\u00a0\u043e\u0441\u043e\u0431\u043e \u0430\u0444\u0438\u0448\u0438\u0440\u0443\u0435\u0442, \u0447\u0442\u043e \u0443 iTunes Store \u0438\u00a0\u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u0435\u0441\u0442\u044c \u043a\u0440\u0438\u0432\u0435\u043d\u044c\u043a\u043e\u0435, \u043d\u043e\u00a0\u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u043e\u0435 API\u00a0\u2014 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f\u00a0\u0440\u0435\u0448\u0438\u043b \u043e\u00a0\u043d\u0451\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u0418\u0437\u00a0\u044d\u0442\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u0432\u044b\u00a0\u0443\u0437\u043d\u0430\u0435\u0442\u0435, \u0447\u0442\u043e API \u0443\u043c\u0435\u0435\u0442 \u0438\u00a0\u043a\u0430\u043a \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\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-306268","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/306268","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=306268"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/306268\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=306268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=306268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=306268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}