<?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: Not getting full results when running API's in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443820#M6815</link>
    <description>&lt;P&gt;Thanks for the quick reply sungod. &lt;/P&gt;&lt;P&gt;I looked into the Pagination but the only 2 categories it shows for the startingafter parameter are "Timestamps" and "Interger IDs".  The endpoint is showing that its looking for a string.  Any idea what they're looking for?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 18:29:01 GMT</pubDate>
    <dc:creator>mrheavydee95</dc:creator>
    <dc:date>2023-08-22T18:29:01Z</dc:date>
    <item>
      <title>Not getting full results when running API's</title>
      <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443818#M6813</link>
      <description>&lt;P&gt; I'm having issues getting all the results when running API calls when I run them via the developer site and Postman.  When I run "Get Organization Devices" its not displaying all devices (2100+).  I tried the per-page param to 50 (max) and I'm still missing data.  Any suggestions?  &lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 17:37:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443818#M6813</guid>
      <dc:creator>mrheavydee95</dc:creator>
      <dc:date>2023-08-22T17:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting full results when running API's</title>
      <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443819#M6814</link>
      <description>&lt;P&gt;The call &lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-devices/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-devices/&lt;/A&gt; has a default (and maximum) per-page limit of 1,000. If you set it to 50 you'll only get 50 per page.&lt;/P&gt;&lt;P&gt;If there are more devices than will fit onto the page, you need to make further calls (following the pagination handling rules) to get the remaining page(s) of data.&lt;/P&gt;&lt;P&gt;With 2,100 devices it'll be at least 3 pages of data.&lt;/P&gt;&lt;P&gt;If you use the Python library it can handle pagination for you, otherwise you'd need to arrange it yourself.&lt;/P&gt;&lt;P&gt;Python library: &lt;A href="https://github.com/meraki/dashboard-api-python" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/meraki/dashboard-api-python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Pagination: &lt;A href="https://developer.cisco.com/meraki/api-v1/pagination/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/pagination/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 17:46:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443819#M6814</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2023-08-22T17:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting full results when running API's</title>
      <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443820#M6815</link>
      <description>&lt;P&gt;Thanks for the quick reply sungod. &lt;/P&gt;&lt;P&gt;I looked into the Pagination but the only 2 categories it shows for the startingafter parameter are "Timestamps" and "Interger IDs".  The endpoint is showing that its looking for a string.  Any idea what they're looking for?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 18:29:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443820#M6815</guid>
      <dc:creator>mrheavydee95</dc:creator>
      <dc:date>2023-08-22T18:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting full results when running API's</title>
      <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443821#M6816</link>
      <description>&lt;P&gt;The values needed to navigate subsequent pages are in the &lt;EM&gt;&lt;STRONG&gt;link headers&lt;/STRONG&gt;&lt;/EM&gt; returned by the call.&lt;/P&gt;&lt;P&gt;It's explained in the documentation page I linked, look at the 'Example' section.&lt;/P&gt;&lt;P&gt;I.e. you need to select/parse the link headers, or take the easy way out and just use the Python Library &lt;SPAN class="lia-unicode-emoji" title=":grinning_face:"&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 18:53:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443821#M6816</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2023-08-22T18:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting full results when running API's</title>
      <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443822#M6817</link>
      <description>&lt;P&gt;I'm sure once it would be easier once I figure out Python Library (which I never used before).  I'm getting SSL errors when trying to run it with Python.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 20:32:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443822#M6817</guid>
      <dc:creator>mrheavydee95</dc:creator>
      <dc:date>2023-08-22T20:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting full results when running API's</title>
      <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443823#M6818</link>
      <description>&lt;P&gt;As a tip, I've found Google Bard good at writing Python scripts to use the Meraki API.  I'm now at the point where if I need to create something, I start with Google Bard and take it from there.  It's just a faster way to develop.&lt;/P&gt;&lt;P&gt;&lt;A href="https://bard.google.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://bard.google.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 20:39:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443823#M6818</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2023-08-22T20:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting full results when running API's</title>
      <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443824#M6819</link>
      <description>&lt;P&gt;If you are running on Windows and getting SSL problems this thread might help...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.meraki.com/t5/Developers-APIs/SSL-error-in-python/m-p/186146" target="_blank"&gt;https://community.meraki.com/t5/Developers-APIs/SSL-error-in-python/m-p/186146&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't use it on Windows, but others do, so probably someone else can help you if the above thread doesn't resolve it.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 14:13:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443824#M6819</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2023-08-23T14:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting full results when running API's</title>
      <link>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443825#M6820</link>
      <description>&lt;P&gt;I appreciate everyone's response to this thread.   &lt;/P&gt;&lt;P&gt;I tried the link you sent over sungod, I did the following and I'm still getting a cert error:&lt;/P&gt;&lt;P&gt;-  exported the cert from the portal and saved it locally&lt;/P&gt;&lt;P&gt;-  ran the verify command (verify="c:\temp\nameofcert.crt")&lt;/P&gt;&lt;P&gt;I even tried verify=False which still gave me the same SSL Cert error.  &lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 16:00:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/not-getting-full-results-when-running-api-s/m-p/5443825#M6820</guid>
      <dc:creator>mrheavydee95</dc:creator>
      <dc:date>2023-08-28T16:00:52Z</dc:date>
    </item>
  </channel>
</rss>

