<?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: Is there a limit to API calls? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863062#M4262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here's what ended up working:&lt;/P&gt;&lt;P&gt;itemsList = gis.content.search(query = 'created: [1559394001000 TO 1567086853000]', max_items = 10000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I'm running into another road block: we create a lot of content! I originally went back to Jan of 2019, which still put me against the 10000 item throttle limit. So chunking this up into 6-month calls is a little time consuming, as I need to go back to 2010.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2019 14:31:30 GMT</pubDate>
    <dc:creator>ThomasColson</dc:creator>
    <dc:date>2019-08-29T14:31:30Z</dc:date>
    <item>
      <title>Is there a limit to API calls?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863056#M4256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using&amp;nbsp;&lt;A href="https://community.esri.com/thread/239341-find-all-content-for-all-users-in-an-agol-subscription-parse-results?sr=inbox"&gt;https://community.esri.com/thread/239341-find-all-content-for-all-users-in-an-agol-subscription-parse-results?sr=inbox&lt;/A&gt;&amp;nbsp;&amp;nbsp;to pull some statistics, but I'm finding the output limited to 10000 rows, and I know we have more than 10000 items.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 12:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863056#M4256</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2019-08-29T12:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to API calls?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863057#M4257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or a better way to ask this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to specify date ranges&amp;nbsp; in gis.content.search ?&lt;/P&gt;&lt;P&gt;I see&amp;nbsp;&lt;A href="https://community.esri.com/thread/224718-arcgis-api-for-python-find-latest-items"&gt;https://community.esri.com/thread/224718-arcgis-api-for-python-find-latest-items&lt;/A&gt;&amp;nbsp;there is a way to go back so many days, what I'm after is a way to specify a between range, say, I want every item created from 2014-2016, which would allow me to do multiple queries under the 10000 item limit, then concatenate the results.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 12:36:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863057#M4257</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2019-08-29T12:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to API calls?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863058#M4258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="https://community.esri.com/migrated-users/10807"&gt;simo xu&lt;/A&gt;‌ response to the thread you reference appears to answer your question, albeit using "now" for one of the date ends.&amp;nbsp; Have you tried that code just with different dates?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 13:10:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863058#M4258</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-08-29T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to API calls?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863059#M4259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;err....ahhhh....I'm "trying". Not the brightest python bulb in the room here. When you say hard code the now part, would that be&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 0px 0px 0px 20px;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;now &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;=&lt;/SPAN&gt; someunixtimestamp&lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 13:18:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863059#M4259</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2019-08-29T13:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to API calls?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863060#M4260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've tried:&amp;nbsp;&lt;/P&gt;&lt;P&gt;now = '1567084745'&lt;BR /&gt;then = '1546300800'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;itemsList = gis.content.search('uploaded: [' + then + ' TO ' + now + ']', max_items = 10000000)&lt;/LI&gt;&lt;LI&gt;itemsList = gis.content.search('created: [' + then + ' TO ' + now + ']', max_items = 10000000)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And both return nothing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 13:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863060#M4260</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2019-08-29T13:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to API calls?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863061#M4261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you are working in milleseconds.&amp;nbsp; &lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm"&gt;Search reference—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt; :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="white-space: normal; background-color: #f8f8f8; border-width: 1px 0px 1px 1px; border-style: solid none solid solid; border-image: initial; border-radius: 3px; color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 0.85em; padding: 0px 0px 0px 0.15rem; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; border-color: #efefef initial #efefef #efefef;"&gt;created&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;field contains the date and time an item is created in UNIX time. UNIX time is defined as the number of seconds that have elapsed since midnight January 1, 1970. The portal stores time in milliseconds, so you need to add three zeros to the end of the UNIX time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 13:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863061#M4261</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-08-29T13:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to API calls?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863062#M4262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here's what ended up working:&lt;/P&gt;&lt;P&gt;itemsList = gis.content.search(query = 'created: [1559394001000 TO 1567086853000]', max_items = 10000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I'm running into another road block: we create a lot of content! I originally went back to Jan of 2019, which still put me against the 10000 item throttle limit. So chunking this up into 6-month calls is a little time consuming, as I need to go back to 2010.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-api-calls/m-p/863062#M4262</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2019-08-29T14:31:30Z</dc:date>
    </item>
  </channel>
</rss>

