<?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 Pulling in Data via API in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Pulling-in-Data-via-API/m-p/402293#M12234</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a series of API's that I want to automatically pull into SAS on a daily/weekly basis. The data is in Json format. Please can somebody offer advice on how I would go about doing this from a coding perspective? I've never needed to do this before and hence I'm not quite sure the steps involved. I am using SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2017 08:07:28 GMT</pubDate>
    <dc:creator>cmoore</dc:creator>
    <dc:date>2017-10-09T08:07:28Z</dc:date>
    <item>
      <title>Pulling in Data via API</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Pulling-in-Data-via-API/m-p/402293#M12234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a series of API's that I want to automatically pull into SAS on a daily/weekly basis. The data is in Json format. Please can somebody offer advice on how I would go about doing this from a coding perspective? I've never needed to do this before and hence I'm not quite sure the steps involved. I am using SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 08:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Pulling-in-Data-via-API/m-p/402293#M12234</guid>
      <dc:creator>cmoore</dc:creator>
      <dc:date>2017-10-09T08:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling in Data via API</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Pulling-in-Data-via-API/m-p/402299#M12235</link>
      <description>&lt;P&gt;That's a very big question but as a start you could check out Proc HTTP to issue HTTP requests to bring the data into SAS then use the JSON libname engine to convert the JSON into SAS data sets. You'll find some&amp;nbsp;documentation to get you started at these links:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2016/12/02/json-libname-engine-sas/" target="_self"&gt;Reading data with PROC HTTP and the JSON libname engine&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2018/01/23/check-json-and-http/" target="_self"&gt;How to test PROC HTTP and the JSON engine&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=proc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n197g47i7j66x9n15xi0gaha8ov6.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;PROC HTTP documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings17/SAS0380-2017.pdf" target="_blank" rel="noopener"&gt;The JSON LIBNAME Engine: Real-World Applications Using Open APIs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My advice would be to give this a try and post more specific questions if/when you hit a problem.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 12:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Pulling-in-Data-via-API/m-p/402299#M12235</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2019-10-10T12:41:19Z</dc:date>
    </item>
  </channel>
</rss>

