<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic API: How to get Blog-Posts by Language in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/393534#M38890</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get the blog-posts using API endpoint&amp;nbsp; &lt;A href="https://api.hubapi.com/content/api/v2/blog-posts?....." target="_blank" rel="noopener"&gt;https://api.hubapi.com/content/api/v2/blog-posts?.....&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This gives me the lists of blog-posts from all the languages. I want to get the posts in a specific Language. I read all the documentation but did not find any endpoint or parameter for this purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to display the 4 recently published language-specific blogs in a section on different websites like Japanese blogs on a Japanese website and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to get the blog-posts by Language, using any API endpoint?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 10:46:52 GMT</pubDate>
    <dc:creator>AmandeepSingh</dc:creator>
    <dc:date>2020-12-15T10:46:52Z</dc:date>
    <item>
      <title>API: How to get Blog-Posts by Language</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/393534#M38890</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get the blog-posts using API endpoint&amp;nbsp; &lt;A href="https://api.hubapi.com/content/api/v2/blog-posts?....." target="_blank" rel="noopener"&gt;https://api.hubapi.com/content/api/v2/blog-posts?.....&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This gives me the lists of blog-posts from all the languages. I want to get the posts in a specific Language. I read all the documentation but did not find any endpoint or parameter for this purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to display the 4 recently published language-specific blogs in a section on different websites like Japanese blogs on a Japanese website and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to get the blog-posts by Language, using any API endpoint?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 10:46:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/393534#M38890</guid>
      <dc:creator>AmandeepSingh</dc:creator>
      <dc:date>2020-12-15T10:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: API: How to get Blog-Posts by Language</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/394139#M38945</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/150456"&gt;@AmandeepSingh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know of a specific parameter you could search for language.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt; , do you know?&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I wonder if looking at the url of each and sorting that way could work &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 18:20:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/394139#M38945</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2020-12-16T18:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: API: How to get Blog-Posts by Language</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/394307#M38958</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/150456"&gt;@AmandeepSingh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the new API (Version 3)&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/cms/blog-post" target="_blank"&gt;https://developers.hubspot.com/docs/api/cms/blog-post&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you call&lt;CODE class="PathUrl__StyledCode-o8p4zl-2 hKSOcc private-code"&gt;&lt;SPAN class="PathUrl__StyledPath-o8p4zl-3 ffmpuR"&gt;&lt;SPAN class="private-truncated-string" data-content="true"&gt;&lt;SPAN class="private-truncated-string__inner"&gt;&lt;SPAN class="private-truncated-string__reverse"&gt;&lt;SPAN class="private-truncated-string__reverse__tail"&gt;&lt;SPAN class="private-truncated-string__reverse__content"&gt;/cms/v3/blogs/posts&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt; you will get a JSON Property for the language:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;...
"language": "af",
...&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The V3 API is in Beta... but that's better than not knowing which language the post is in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;p.s. thanks for the mention&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 01:43:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/394307#M38958</guid>
      <dc:creator>Mike_Eastwood</dc:creator>
      <dc:date>2020-12-17T01:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: API: How to get Blog-Posts by Language</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/394309#M38959</link>
      <description>Not sure why I forgot about that beta!</description>
      <pubDate>Thu, 17 Dec 2020 01:50:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-How-to-get-Blog-Posts-by-Language/m-p/394309#M38959</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2020-12-17T01:50:44Z</dc:date>
    </item>
  </channel>
</rss>

