<?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: Location Analytics API call in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412905#M2276</link>
    <description>&lt;P&gt;Not specific to the location API, it's common for people to report API data not matching what is visible in Dashboard.&lt;/P&gt;&lt;P&gt;The answer in general is that unless you are &lt;EM&gt;exactly&lt;/EM&gt; replicating Dashboard's internal logic/timing/maths, the result will differ, and as the internal details are not public it's unlikely you'll be able to replicate them, so you'll always get different numbers.&lt;/P&gt;&lt;P&gt;For instance I'm pretty sure Dashboard keeps some periodically calculated/cached info for some things, unless you can hit on the &lt;EM&gt;exact&lt;/EM&gt; match for this, you won't get the same results.&lt;/P&gt;&lt;P&gt;They're not wrong, they're just different because they weren't calculated the same way that Dashboard does it, as long as &lt;EM&gt;you&lt;/EM&gt; know what they mean they are perfectly valid.&lt;/P&gt;&lt;P&gt;There is some explanation of how the numbers for Location Analytics are produced, it might help you get closer, note how RSSI is used for instance...&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.meraki.com/MR/Monitoring_and_Reporting/Location_Analytics" target="_blank" rel="nofollow noopener noreferrer"&gt;https://documentation.meraki.com/MR/Monitoring_and_Reporting/Location_Analytics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But if you are using the API, totals still have to be calculated, otherwise I think you'll have to resort to extracting the numbers from the Dashboard page.&lt;/P&gt;&lt;P&gt;The API documentation says you get &lt;SPAN&gt;clientMac in the payload...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://developer.cisco.com/meraki/scanning-api/3-0/#observation-payloads" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/scanning-api/3-0/#observation-payloads&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...if that's not what you're getting, I suggest open a case to get it fixed or documentation corrected.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 19:46:35 GMT</pubDate>
    <dc:creator>sungod</dc:creator>
    <dc:date>2024-03-28T19:46:35Z</dc:date>
    <item>
      <title>Location Analytics API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412900#M2271</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm looking to get aggregated stats like the Location Analytics Page in the main dashbaord rather than tons of data from Aps as the volumes get very large quite quickly&lt;/P&gt;&lt;P&gt;Is there any API access to amalgamated data for location analytics&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 12:05:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412900#M2271</guid>
      <dc:creator>rholbrook</dc:creator>
      <dc:date>2024-03-20T12:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Location Analytics API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412901#M2272</link>
      <description>&lt;P&gt;Have you checked this one? &lt;A href="https://developer.cisco.com/meraki/scanning-api/#!overview/overview" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/scanning-api/#!overview/overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.meraki.com/MR/Monitoring_and_Reporting/Scanning_API_for_Location_Analytics_Solutions" target="_blank" rel="nofollow noopener noreferrer"&gt;Scanning API for Location Analytics Solutions - Cisco Meraki Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 12:21:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412901#M2272</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-03-20T12:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Location Analytics API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412902#M2273</link>
      <description>&lt;P&gt;If you want only counts of wireless clients in a given period, you can use...&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-wireless-client-count-history/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-wireless-client-count-history/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But if you want to get/calculate the same info as the location analytics page there're a few ways I can think of...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;use the API &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/51406"&gt;@alessandrodematos&lt;/A&gt; mentions and accept the volume of data, plus keep a database of clients so you can do the calculations over time&lt;/LI&gt;&lt;LI&gt;if you want the 'Connected' number, you probably also have to correlate with actual connection data for matching time span from &lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-wireless-clients-connection-stats/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-wireless-clients-connection-stats/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;...or...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;examine the way the CSV links on the location analytics page operate, emulate that in a script to periodically get the data as CSV, though I'd bet this is easier said than done.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;...or...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create a screen scraper to pull the numbers from the page.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 20 Mar 2024 14:13:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412902#M2273</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-03-20T14:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Location Analytics API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412903#M2274</link>
      <description>&lt;P&gt;great thanks for those suggestions&lt;/P&gt;&lt;P&gt;I will check them out&lt;/P&gt;&lt;P&gt;I think we already have data for connected clients&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 14:18:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412903#M2274</guid>
      <dc:creator>rholbrook</dc:creator>
      <dc:date>2024-03-20T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Location Analytics API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412904#M2275</link>
      <description>&lt;P&gt;Ok we are getting analytics data via the webhook (V3 API)&lt;/P&gt;&lt;P&gt;We get back a lot of data with IP, Pseudo MAC, etc &lt;/P&gt;&lt;P&gt;the data we get back does not match the totals on the dashboard&lt;/P&gt;&lt;P&gt;We get more hits from data than from dashboard&lt;/P&gt;&lt;P&gt;All we really want is the totals - not interested in the raw data&lt;/P&gt;&lt;P&gt;We think some devices reported back are firesticks, smart cars etc and that Meraki removes these before publishing on the dahsboard. We get manufacturer name but not real MAC addresses so its hard to filter&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 14:57:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412904#M2275</guid>
      <dc:creator>rholbrook</dc:creator>
      <dc:date>2024-03-28T14:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Location Analytics API call</title>
      <link>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412905#M2276</link>
      <description>&lt;P&gt;Not specific to the location API, it's common for people to report API data not matching what is visible in Dashboard.&lt;/P&gt;&lt;P&gt;The answer in general is that unless you are &lt;EM&gt;exactly&lt;/EM&gt; replicating Dashboard's internal logic/timing/maths, the result will differ, and as the internal details are not public it's unlikely you'll be able to replicate them, so you'll always get different numbers.&lt;/P&gt;&lt;P&gt;For instance I'm pretty sure Dashboard keeps some periodically calculated/cached info for some things, unless you can hit on the &lt;EM&gt;exact&lt;/EM&gt; match for this, you won't get the same results.&lt;/P&gt;&lt;P&gt;They're not wrong, they're just different because they weren't calculated the same way that Dashboard does it, as long as &lt;EM&gt;you&lt;/EM&gt; know what they mean they are perfectly valid.&lt;/P&gt;&lt;P&gt;There is some explanation of how the numbers for Location Analytics are produced, it might help you get closer, note how RSSI is used for instance...&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.meraki.com/MR/Monitoring_and_Reporting/Location_Analytics" target="_blank" rel="nofollow noopener noreferrer"&gt;https://documentation.meraki.com/MR/Monitoring_and_Reporting/Location_Analytics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But if you are using the API, totals still have to be calculated, otherwise I think you'll have to resort to extracting the numbers from the Dashboard page.&lt;/P&gt;&lt;P&gt;The API documentation says you get &lt;SPAN&gt;clientMac in the payload...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://developer.cisco.com/meraki/scanning-api/3-0/#observation-payloads" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/scanning-api/3-0/#observation-payloads&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...if that's not what you're getting, I suggest open a case to get it fixed or documentation corrected.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 19:46:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/location-analytics-api-call/m-p/5412905#M2276</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-03-28T19:46:35Z</dc:date>
    </item>
  </channel>
</rss>

