<?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 Using the Requests library in an ArcGIS Online Notebook in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/using-the-requests-library-in-an-arcgis-online/m-p/1287597#M52069</link>
    <description>&lt;P&gt;Currently, I am writing a notebook in ArcGIS Online, which I intend to run periodically to retrieve data and prepare it for displaying data in a feature layer. For retrieving this data, I have to make use of Python's Requests library.&lt;/P&gt;&lt;P&gt;However, when I run the following code line:&lt;/P&gt;&lt;PRE&gt;response = requests.get(data_url)&lt;/PRE&gt;&lt;P&gt;(in which data_url is a request url for the database, which yields results in other non-ArcGIS Online python environments)&lt;/P&gt;&lt;P&gt;I get the error:&lt;/P&gt;&lt;PRE&gt;[Errno 111] Connection refused&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;urllib3.connection.HTTPConnection object at 0x7f4208ccc9d0&amp;gt;: Failed to establish a new connection: [Errno 111] Connection refused&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have experience with this? Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 09:28:30 GMT</pubDate>
    <dc:creator>JanDommel</dc:creator>
    <dc:date>2023-05-10T09:28:30Z</dc:date>
    <item>
      <title>Using the Requests library in an ArcGIS Online Notebook</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-the-requests-library-in-an-arcgis-online/m-p/1287597#M52069</link>
      <description>&lt;P&gt;Currently, I am writing a notebook in ArcGIS Online, which I intend to run periodically to retrieve data and prepare it for displaying data in a feature layer. For retrieving this data, I have to make use of Python's Requests library.&lt;/P&gt;&lt;P&gt;However, when I run the following code line:&lt;/P&gt;&lt;PRE&gt;response = requests.get(data_url)&lt;/PRE&gt;&lt;P&gt;(in which data_url is a request url for the database, which yields results in other non-ArcGIS Online python environments)&lt;/P&gt;&lt;P&gt;I get the error:&lt;/P&gt;&lt;PRE&gt;[Errno 111] Connection refused&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;urllib3.connection.HTTPConnection object at 0x7f4208ccc9d0&amp;gt;: Failed to establish a new connection: [Errno 111] Connection refused&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have experience with this? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 09:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-the-requests-library-in-an-arcgis-online/m-p/1287597#M52069</guid>
      <dc:creator>JanDommel</dc:creator>
      <dc:date>2023-05-10T09:28:30Z</dc:date>
    </item>
  </channel>
</rss>

