<?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 Python to connect to service in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-to-connect-to-service/m-p/533115#M41762</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;/P&gt;&lt;P&gt;I'm trying to find a tutorial or guidance on how to use python to connect to a service end point. I have connected to the server linked below in ArcGIS Pro. I would like to use python to iterate over the features in the service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://map.dfg.ca.gov/arcgis/services" title="https://map.dfg.ca.gov/arcgis/services"&gt;https://map.dfg.ca.gov/arcgis/services&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure where to begin. Could someone point me in the right direction?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Nov 2019 01:15:12 GMT</pubDate>
    <dc:creator>JasonCarter1</dc:creator>
    <dc:date>2019-11-08T01:15:12Z</dc:date>
    <item>
      <title>Python to connect to service</title>
      <link>https://community.esri.com/t5/python-questions/python-to-connect-to-service/m-p/533115#M41762</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;/P&gt;&lt;P&gt;I'm trying to find a tutorial or guidance on how to use python to connect to a service end point. I have connected to the server linked below in ArcGIS Pro. I would like to use python to iterate over the features in the service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://map.dfg.ca.gov/arcgis/services" title="https://map.dfg.ca.gov/arcgis/services"&gt;https://map.dfg.ca.gov/arcgis/services&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure where to begin. Could someone point me in the right direction?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2019 01:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-to-connect-to-service/m-p/533115#M41762</guid>
      <dc:creator>JasonCarter1</dc:creator>
      <dc:date>2019-11-08T01:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python to connect to service</title>
      <link>https://community.esri.com/t5/python-questions/python-to-connect-to-service/m-p/533116#M41763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a few options. If you just want to work directly with the services themselves, the ArcGIS API for Python is part of Pro, and is a nice way to work with the data hosted over a REST endpoint: &lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/working-with-feature-layers-and-features/" title="https://developers.arcgis.com/python/guide/working-with-feature-layers-and-features/"&gt;Using Feature Layers | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also can call any GP tool from ArcPy, and then interact with the data as you would any other data with ArcPy. Both options work well, depending on what you're trying to do and what level of granularity you're working with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 02:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-to-connect-to-service/m-p/533116#M41763</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2019-11-15T02:13:01Z</dc:date>
    </item>
  </channel>
</rss>

