<?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 how to extract rest API results into columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-extract-rest-API-results-into-columns/m-p/2259589#M41018</link>
    <description>&lt;P&gt;Anyone could help on how to extract results&amp;nbsp; from an API (&lt;A href="https://minelead.io/docs/#operation/Search" target="_blank" rel="nofollow noopener noreferrer"&gt;https://minelead.io/docs/#operation/Search&lt;/A&gt;&amp;nbsp;) and split them into columns&lt;/P&gt;&lt;P&gt;i have a simple job with tRest components that is working&lt;/P&gt;&lt;P&gt;Also, what is the difference between tRestClient vs tRest ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Image attached&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:35:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:35:16Z</dc:date>
    <item>
      <title>how to extract rest API results into columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-extract-rest-API-results-into-columns/m-p/2259589#M41018</link>
      <description>&lt;P&gt;Anyone could help on how to extract results&amp;nbsp; from an API (&lt;A href="https://minelead.io/docs/#operation/Search" target="_blank" rel="nofollow noopener noreferrer"&gt;https://minelead.io/docs/#operation/Search&lt;/A&gt;&amp;nbsp;) and split them into columns&lt;/P&gt;&lt;P&gt;i have a simple job with tRest components that is working&lt;/P&gt;&lt;P&gt;Also, what is the difference between tRestClient vs tRest ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Image attached&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-extract-rest-API-results-into-columns/m-p/2259589#M41018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract rest API results into columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-extract-rest-API-results-into-columns/m-p/2259590#M41019</link>
      <description>hi,&lt;BR /&gt;your rest application is replying with json format.&lt;BR /&gt;so you can use tXmlMap to split it into columns.&lt;BR /&gt;good luck</description>
      <pubDate>Tue, 24 Sep 2019 13:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-extract-rest-API-results-into-columns/m-p/2259590#M41019</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-09-24T13:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract rest API results into columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-extract-rest-API-results-into-columns/m-p/2259591#M41020</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006X6KgAAK"&gt;@AmiHall1&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Concerning tRest / tRestClient :&lt;/STRONG&gt;&lt;BR /&gt;As &lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&amp;nbsp;explained in this post : &lt;A href="https://community.qlik.com/s/feed/0D53p00007vCp3OCAS" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/tRest-v-s-tRestClient/td-p/99188&lt;/A&gt;&lt;BR /&gt;&lt;EM&gt;"component tRestClient exist in talend open studio under the ESB package using Apache CXF technology, but the tRest is under the Internet package using the technology of Rest. They need different Configuration parameters and technology. You can choose one of them which is up to your requirement and technology."&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;About how converting json response from api into columns&lt;/STRONG&gt;,&lt;BR /&gt;i recomand you to see this :&lt;A href="https://help.talend.com/reader/sgE1qM_4~9kOIJyS0XV1zA/WDdZLETtsTtpdN7TRzEF~g" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/sgE1qM_4~9kOIJyS0XV1zA/WDdZLETtsTtpdN7TRzEF~g&lt;/A&gt;&lt;BR /&gt;and this :&amp;nbsp;&lt;A href="https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;tExtractJsonField&lt;/EM&gt;&amp;nbsp; component can parse a json string and generate rows with a schema, based on jsonPath or XPath query defined in the configuration.&lt;BR /&gt;&lt;BR /&gt;For example, if you have a json like :&lt;BR /&gt;{"name":"totoro", "country":"japan"}&lt;BR /&gt;The JsonPath query to get name value could be : "$.name" and it would return a String.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;This is how to convert a string (Valid Json) in a row with schema structure:&lt;/STRONG&gt;&lt;BR /&gt;Job Design : tFixedFlowInput ---- tExtractJsonField ---- tLogRow&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Config of tFixedFlowInput for this example :&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1fixed.PNG" style="width: 533px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7RL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147502i64B6AD3FCEA0437A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7RL.png" alt="0683p000009M7RL.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Config of tExtractJsonField :&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2json.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7h3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135310i34314D1B22D69DDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7h3.png" alt="0683p000009M7h3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3job.PNG" style="width: 617px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7lj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134248iCC6434C14162A6DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7lj.png" alt="0683p000009M7lj.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is how you can "convert" a json string (which in your case is the response from the API) in row with schema.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The json was&amp;nbsp;{"name":"totoro", "country":"japan"}&lt;BR /&gt;And the result is :&lt;BR /&gt;name&amp;nbsp; | country (schema)&lt;BR /&gt;totoro&amp;nbsp; | japan (row)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this will help you.&lt;BR /&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 13:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-extract-rest-API-results-into-columns/m-p/2259591#M41020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-01T13:52:29Z</dc:date>
    </item>
  </channel>
</rss>

