<?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 Temporal Extent for ArcGIS API's in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/temporal-extent-for-arcgis-api-s/m-p/1512578#M10385</link>
    <description>&lt;P&gt;Hi all! This is my first post here.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a catalog of ArcGIS API's and their endpoints.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there any way to talk to these endpoints and pull out the temporal extent of the data that's held at that endpoint? Thanks for any information&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 19:52:58 GMT</pubDate>
    <dc:creator>LukeFarchione</dc:creator>
    <dc:date>2024-07-30T19:52:58Z</dc:date>
    <item>
      <title>Temporal Extent for ArcGIS API's</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/temporal-extent-for-arcgis-api-s/m-p/1512578#M10385</link>
      <description>&lt;P&gt;Hi all! This is my first post here.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a catalog of ArcGIS API's and their endpoints.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there any way to talk to these endpoints and pull out the temporal extent of the data that's held at that endpoint? Thanks for any information&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 19:52:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/temporal-extent-for-arcgis-api-s/m-p/1512578#M10385</guid>
      <dc:creator>LukeFarchione</dc:creator>
      <dc:date>2024-07-30T19:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Temporal Extent for ArcGIS API's</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/temporal-extent-for-arcgis-api-s/m-p/1513731#M10393</link>
      <description>&lt;P&gt;Hey Luke,&lt;/P&gt;&lt;P&gt;I think it would depend how we are accessing these endpoints. I would look to add these to ArcGIS Online/Enterprise as a URL item then see if you can use the following code sample to pull the extent out from the Layer ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS
from arcgis.features import FeatureLayer
gis = GIS("home")

serviceId = "&amp;lt;INSERT LAYER ID&amp;gt;"
serviceItem = gis.content.get(serviceId)
serviceItem

print(serviceItem.extent)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that doesn't work then I imagine that creating a Feature Layer from the endpoint and querying the extent from this will be the way forward.&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 16:19:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/temporal-extent-for-arcgis-api-s/m-p/1513731#M10393</guid>
      <dc:creator>David_McRitchie</dc:creator>
      <dc:date>2024-08-01T16:19:34Z</dc:date>
    </item>
  </channel>
</rss>

