<?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 Re: Retrieve data from third-party API using Basic Authentication, display as feature layer? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637233#M31741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/333952"&gt;Jack Silburn&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the post. Were you able to get this to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this question ultimately depends on the JSON response when queried. From this doc, if the response is valid GeoJSON then you would be able to add it to a web map and create a hosted feature layer:&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/reference/supported-items.htm" title="https://doc.arcgis.com/en/arcgis-online/reference/supported-items.htm"&gt;What can you add to ArcGIS Online?—ArcGIS Online Help | Documentation&lt;/A&gt;;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/labs/arcgisonline/import-data/" title="https://developers.arcgis.com/labs/arcgisonline/import-data/"&gt;Import data | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2030"&gt;Developer Communities&lt;/A&gt;‌ would maybe have more to add on the authentication component.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Peter&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2020 15:42:57 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-04-23T15:42:57Z</dc:date>
    <item>
      <title>Retrieve data from third-party API using Basic Authentication, display as feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637232#M31740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am curious to know if&amp;nbsp;it is possible to do the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create an ArcGIS Online item/feature/application which calls a non-ArcGIS API endpoint,&lt;/LI&gt;&lt;LI&gt;the API returns a JSON response when queried,&lt;/LI&gt;&lt;LI&gt;the&amp;nbsp;API also requires Basic Authentication.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is&amp;nbsp;interpreted as an ArcGIS Online 'friendly' format (e.g. feature layer? Table?), which can then be added to Web Maps, Applications, Ops Dashboard etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 02:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637232#M31740</guid>
      <dc:creator>JackSilburn</dc:creator>
      <dc:date>2020-01-24T02:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from third-party API using Basic Authentication, display as feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637233#M31741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/333952"&gt;Jack Silburn&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the post. Were you able to get this to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this question ultimately depends on the JSON response when queried. From this doc, if the response is valid GeoJSON then you would be able to add it to a web map and create a hosted feature layer:&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/reference/supported-items.htm" title="https://doc.arcgis.com/en/arcgis-online/reference/supported-items.htm"&gt;What can you add to ArcGIS Online?—ArcGIS Online Help | Documentation&lt;/A&gt;;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/labs/arcgisonline/import-data/" title="https://developers.arcgis.com/labs/arcgisonline/import-data/"&gt;Import data | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2030"&gt;Developer Communities&lt;/A&gt;‌ would maybe have more to add on the authentication component.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Peter&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 15:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637233#M31741</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-23T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from third-party API using Basic Authentication, display as feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637234#M31742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ended up following a fairly convoluted (and bespoke) process:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I am using a linux server to run a python program on an automated schedule&lt;/LI&gt;&lt;LI&gt;The program handles the API requests, using the Python Requests module, to return JSON data&lt;/LI&gt;&lt;LI&gt;The program then queries the AGOL API, returning a list of GIS features and associated primary keys&lt;/LI&gt;&lt;LI&gt;The program joins the two datasets from steps 2 &amp;amp; 3, and POSTs the completed table back to AGOL, via the UpdateFeatures API method.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have a feature layer which is updated automatically with 'live' data, which I can use in&amp;nbsp;Web Maps and so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I tried something following your first link, but for whatever reason it wasn't working out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 02:07:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637234#M31742</guid>
      <dc:creator>JackSilburn</dc:creator>
      <dc:date>2020-04-28T02:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from third-party API using Basic Authentication, display as feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637235#M31743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for following up on this - I'll go ahead and mark your answer as correct to help anyone else that comes across the thread; as you mention it is customized for your scenario but I suspect other folks have similar end goals.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you haven't yet I would recommend checking out &lt;A _jive_internal="true" href="https://community.esri.com/community/arcgis-notebook-beta-online"&gt;Notebooks beta&lt;/A&gt; and&amp;nbsp;trying it our for some of your workflows - it provides access to the ArcGIS API for Python and general Python functions in the cloud.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:46:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/637235#M31743</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-28T21:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from third-party API using Basic Authentication, display as feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/1230372#M48803</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am attempting to a similar task- but I am not able to follow your workflow. I want to call a non ArcGIS &lt;SPAN&gt;REST&amp;nbsp;&lt;/SPAN&gt;API, and&amp;nbsp; would like to view and query the live data in ArcGIS pro or online, as well as overlay other different datasets/layers. I am using Windows 10.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 11:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/retrieve-data-from-third-party-api-using-basic/m-p/1230372#M48803</guid>
      <dc:creator>NaomiOmwebu</dc:creator>
      <dc:date>2022-11-10T11:53:49Z</dc:date>
    </item>
  </channel>
</rss>

