<?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 Connection to an API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Connection-to-an-API/m-p/2304672#M76417</link>
    <description>&lt;P&gt;I would like to import the json content of  API output with talend.&lt;/P&gt;&lt;P&gt;This is the output of the API in JSON that I would like to retrieve in a CSV file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AGisGAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134665i201DA544E1A4330F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AGisGAAT.png" alt="0693p00000AGisGAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried with this job, but I have some errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AGisLAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129671iA13ABC8E176ABEFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AGisLAAT.png" alt="0693p00000AGisLAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone know how to do this?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:10:02 GMT</pubDate>
    <dc:creator>jalex1604569003</dc:creator>
    <dc:date>2024-11-16T01:10:02Z</dc:date>
    <item>
      <title>Connection to an API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-to-an-API/m-p/2304672#M76417</link>
      <description>&lt;P&gt;I would like to import the json content of  API output with talend.&lt;/P&gt;&lt;P&gt;This is the output of the API in JSON that I would like to retrieve in a CSV file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AGisGAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134665i201DA544E1A4330F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AGisGAAT.png" alt="0693p00000AGisGAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried with this job, but I have some errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AGisLAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129671iA13ABC8E176ABEFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AGisLAAT.png" alt="0693p00000AGisLAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone know how to do this?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-to-an-API/m-p/2304672#M76417</guid>
      <dc:creator>jalex1604569003</dc:creator>
      <dc:date>2024-11-16T01:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to an API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-to-an-API/m-p/2304673#M76418</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can call a Restful service using&amp;nbsp;tRESTClient and get the headers from the response.&lt;/P&gt;&lt;P&gt;Add a tJavaRow after tRESTClient, with the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//access to global headers&lt;/P&gt;&lt;P&gt;java.util.Map resp_headers = (java.util.Map&amp;lt;String,java.util.List&amp;lt;String&amp;gt;&amp;gt;)globalMap.get("tRESTClient_1_HEADERS");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//iterate through the list of headers&lt;/P&gt;&lt;P&gt;System.out.println("\nResponse Headers list:");&lt;/P&gt;&lt;P&gt;for(String headerName: (java.util.Set&amp;lt;String&amp;gt;) resp_headers.keySet()) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;String headerValue = ((java.util.List&amp;lt;String&amp;gt;)resp_headers.get(headerName)).get(0).toString();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println("\t" + headerName + ": " +&amp;nbsp;headerValue);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Let us know if it works.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 08:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-to-an-API/m-p/2304673#M76418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-09T08:50:49Z</dc:date>
    </item>
  </channel>
</rss>

