<?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 Gather all Clients across an organization in Python in Cloud Networking Platform</title>
    <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397158#M1</link>
    <description>&lt;P&gt;I should preface this with the fact that I am new to both Python (not coding, I know PowerShell enough to get by), and the Meraki API.  I have also tried using Postman, but to no great effect to the same thing.&lt;/P&gt;&lt;P&gt;I'm having some issues trying to gather up a list of all our clients that are connected to our network over the past 30 days.  I have been trying to get this: &lt;A href="https://community.meraki.com/t5/Dashboard-Administration/Meraki-Dashboard-Reporting-How-can-I-get-a-csv-of-All-Clients-on/m-p/40585/highlight/true#M1473" target="_blank"&gt;https://community.meraki.com/t5/Dashboard-Administration/Meraki-Dashboard-Reporting-How-can-I-get-a-csv-of-All-Clients-on/m-p/40585/highlight/true#M1473&lt;/A&gt; code to work (between "Begin Code" and "End Code" in that post), however I keep running into some Python errors, the latest one that gets the most info yet is this:&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="MAC Error.PNG" style="width: 733px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262516i9C620876E2781B1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The odd part is, it gets through most of the organization before this becomes an issue, we have roughly 140 networks to iterate through and I don't even know where to begin trouble shooting this. &lt;/P&gt;&lt;P&gt;If there is another easier way, maybe through PowerShell I am all ears.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2020 23:38:41 GMT</pubDate>
    <dc:creator>scriptguru</dc:creator>
    <dc:date>2020-03-31T23:38:41Z</dc:date>
    <item>
      <title>Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397158#M1</link>
      <description>&lt;P&gt;I should preface this with the fact that I am new to both Python (not coding, I know PowerShell enough to get by), and the Meraki API.  I have also tried using Postman, but to no great effect to the same thing.&lt;/P&gt;&lt;P&gt;I'm having some issues trying to gather up a list of all our clients that are connected to our network over the past 30 days.  I have been trying to get this: &lt;A href="https://community.meraki.com/t5/Dashboard-Administration/Meraki-Dashboard-Reporting-How-can-I-get-a-csv-of-All-Clients-on/m-p/40585/highlight/true#M1473" target="_blank"&gt;https://community.meraki.com/t5/Dashboard-Administration/Meraki-Dashboard-Reporting-How-can-I-get-a-csv-of-All-Clients-on/m-p/40585/highlight/true#M1473&lt;/A&gt; code to work (between "Begin Code" and "End Code" in that post), however I keep running into some Python errors, the latest one that gets the most info yet is this:&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="MAC Error.PNG" style="width: 733px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262516i9C620876E2781B1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The odd part is, it gets through most of the organization before this becomes an issue, we have roughly 140 networks to iterate through and I don't even know where to begin trouble shooting this. &lt;/P&gt;&lt;P&gt;If there is another easier way, maybe through PowerShell I am all ears.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 23:38:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397158#M1</guid>
      <dc:creator>scriptguru</dc:creator>
      <dc:date>2020-03-31T23:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397159#M2</link>
      <description>&lt;P&gt;I gave it a test and for me the error pops up if the script is trying to get the clients of an MV camera. That call spits out an error because MV's have no clients of course.&lt;/P&gt;&lt;P&gt;I edited the script a bit to ignore those cases. It goes as follows:&lt;/P&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;# Import "meraki" to allow Meraki function calls
import meraki

# Import "datetime" to get current date and time
import datetime

# ///////// Start Definition of Script Constants ////////////////
# api_key = Unique API key generated on a per Meraki User basis
# org_id = Unique organization ID of organization you want to query

api_key = '#################'
org_id = '#############'


# Get the current list of networks from your Organization
current_networks = meraki.getnetworklist(api_key, org_id)


# Establish when "now" is, used to create the file name for output
now = datetime.datetime.now()

# Create/Name the output file with year, month, day and hour minutes
filename = now.strftime("%Y-%m-%d %H.%M") + ".txt"

# Open the file for output
f = open(filename,"w+")

# "i" will be used to increment through each "network" in the Organization
i = 0

for i in range(len(current_networks)):

    # Output to console the Name and ID of the current network
    print("Network Name:" + current_networks[i]['name'])
    print("Network ID:" + current_networks[i]['id'])

    curr_net_id = current_networks[i]['id']
    curr_net_devices = meraki.getnetworkdevices(api_key,curr_net_id)

    # Write to the output file the 'name' of the network and add a comma
    f.write(current_networks[i]['name'])
    f.write(",")

    # Checks for Meraki devices on this network, if there are no devices output to file "No Devices Present"
    if len(curr_net_devices) == 0:
        f.write("No devices Present")
        f.write("\n")

    # "j" will be used to increment through each "device" on this network
    j = 0

    for j in range(len(curr_net_devices)):
        # Output to console the serial number of the device
        print ("Device Serial:" +curr_net_devices[j]['serial'])
        curr_clients = meraki.getclients(api_key,curr_net_devices[j]['serial'])


        # Checks for clients attached to this device, if no clients present output the name, model and serial of the
        # device as well as the message "No Clients". Also catch the error that comes up in case this is a device for
        # which clients are not relevant, e.g. MV camera's.
        if len(curr_clients) == 0 or curr_clients[0] == "Invalid device type":
            # Output to console "No Clients" message
            print ("No clients")

            # Output to file "name", "model", "serial" of the device as well as "No Clients" message
            f.write(current_networks[i]['name'])
            f.write(',')
            f.write(curr_net_devices[j]['model'])
            f.write(',')
            f.write(curr_net_devices[j]['serial'])
            f.write(",")
            f.write("No Clients")
            f.write("\n")

        # Only list the clients if there are any.
        else:
            # "k" will be used to increment the number of clients on each device
            k = 0

            for k in range(len(curr_clients)):
                # Output to console "description" and "mac" of the client
                print (curr_clients[k]['description'],',',curr_clients[k]['mac'])

                # Output to file "name", "model", "serial" of the device as well as the "description" and "mac"
                # of the client
                f.write(current_networks[i]['name'])
                f.write(',')
                f.write(curr_net_devices[j]['model'])
                f.write(',')
                f.write(str(curr_net_devices[j]['name']))
                f.write(',')
                f.write(curr_net_devices[j]['serial'])
                f.write(',')
                f.write(str(curr_clients[k]['description']))
                f.write(',')
                f.write(curr_clients[k]['mac'])
                f.write("\n")

                # Increment "k" to move onto next client on current device
                k = k + 1

        # Increment "j" to move onto next device on current Network
        j = j + 1
    # Increment "i" to move onto next network in Organization
    i = i + 1

# Close the output file
f.close()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Note that I'm also using a newer version of the library which makes that for me &lt;EM&gt;import meraki&lt;/EM&gt; is enough.&lt;/P&gt;&lt;P&gt;Hope that helps. I'll also post back in the other topic.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:32:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397159#M2</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2020-04-01T13:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397160#M3</link>
      <description>&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Kind-of-a-big-deal lia-component-message-view-widget-author-username"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Kind-of-a-big-deal lia-component-message-view-widget-author-username"&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/1965"&gt;@BrechtSchamp&lt;/A&gt;Thank you for the assistance.  I just attempted to run the script and or some reason at line #90-91&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;f.write(str(curr_net_devices[j]['name']))
f.write(',')&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Kind-of-a-big-deal lia-component-message-view-widget-author-username"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Kind-of-a-big-deal lia-component-message-view-widget-author-username"&gt;I get this error, after it got though a handful of our networks.  My best guess is that we have a device that isn't named properly.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ERROR 1 - Meraki API Gather Clients V2.PNG" style="width: 737px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262518i7A6FE7CBF52FCEA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Kind-of-a-big-deal lia-component-message-view-widget-author-username"&gt;NOTE:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Kind-of-a-big-deal lia-component-message-view-widget-author-username"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt; &lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Kind-of-a-big-deal lia-component-message-view-widget-author-username"&gt;When I comment out these two lines it continued and completed without any further issues.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Apr 2020 15:56:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397160#M3</guid>
      <dc:creator>scriptguru</dc:creator>
      <dc:date>2020-04-01T15:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397161#M4</link>
      <description>&lt;P&gt;This works great! Wondering if there is an easy way to include the client IP address in the output?&lt;/P&gt;&lt;P&gt;Guessing I would need to add something to this section?&lt;/P&gt;&lt;PRE&gt;                &lt;SPAN&gt;# Output to file "name", "model", "serial" of the device as well as the "description" and "mac"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;                # of the client&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;current_networks&lt;SPAN&gt;[&lt;/SPAN&gt;i&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'name'&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;','&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;curr_net_devices&lt;SPAN&gt;[&lt;/SPAN&gt;j&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'model'&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;','&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;#                f.write(str(curr_net_devices[j]['name']))&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;#                f.write(',')&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;curr_net_devices&lt;SPAN&gt;[&lt;/SPAN&gt;j&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'serial'&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;','&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;str&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;curr_clients&lt;SPAN&gt;[&lt;/SPAN&gt;k&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'description'&lt;/SPAN&gt;&lt;SPAN&gt;]))&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;','&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;curr_clients&lt;SPAN&gt;[&lt;/SPAN&gt;k&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'mac'&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;BR /&gt;&lt;/SPAN&gt;                f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"\n"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jun 2020 21:16:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397161#M4</guid>
      <dc:creator>101100101</dc:creator>
      <dc:date>2020-06-25T21:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397162#M5</link>
      <description>&lt;P&gt;Yeah. Just replace this:&lt;/P&gt;&lt;P&gt;f.write(",")&lt;/P&gt;&lt;P&gt;With this&lt;SPAN&gt; at the bottom:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;f.write(",")&lt;BR /&gt;f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;curr_clients&lt;SPAN&gt;[&lt;/SPAN&gt;k&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'ip'&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;BR /&gt;&lt;/SPAN&gt;f&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"\n"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Let me know if that doesn't work. &lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 18:22:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397162#M5</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2020-06-29T18:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397163#M6</link>
      <description>&lt;P&gt;works for clients with IP, but I get a traceback when it encounters a client with no IP:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "ClientsInOrg.py", line 98, in &amp;lt;module&amp;gt;&lt;BR /&gt;f.write(curr_clients[k]['ip'])&lt;BR /&gt;TypeError: write() argument must be str, not None&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 18:39:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397163#M6</guid>
      <dc:creator>101100101</dc:creator>
      <dc:date>2020-06-29T18:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397164#M7</link>
      <description>&lt;P&gt;All right, just cast it to string and you should be fine:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;f.write(str(curr_clients[k]['ip']))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 19:05:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397164#M7</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2020-06-29T19:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397165#M8</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/1965"&gt;@BrechtSchamp&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I really could you user assistance since I am &lt;STRONG&gt;new&lt;/STRONG&gt; to this (Postman/python).  I saw in another post of yours where you mentioned the "status" field.  I tried adding it to the python script my Rep send me a link to on github but I get an error 08: unable to write file.&lt;/P&gt;&lt;P&gt;Let me backup and tell you what our needs are.  We need to find out how many concurrent wireless users are online so we can know how to scale a new Cisco ISE deployment and order the correct license count.&lt;/P&gt;&lt;P&gt;I don't care if I can get the info from Postman or running a python script, I just need a way of determining how many users are on wireless.&lt;/P&gt;&lt;P&gt;Oh, and to give you an idea of our size, we have two Orgs and over 250 Networks.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 13:49:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397165#M8</guid>
      <dc:creator>DaRusalka</dc:creator>
      <dc:date>2020-10-14T13:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397166#M9</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/50703"&gt;@DaRusalka&lt;/A&gt; Have you tried running above script? It outputs more than you need, but when you open the generated .txt file in Excel you should be able to filter out the columns that have "MR" in the third column. That'll give you the number of wireless clients (at that point in time!).&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 07:45:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397166#M9</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2020-10-15T07:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397167#M10</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/1965"&gt;@BrechtSchamp&lt;/A&gt; no, I have been running the script from the other discussion. It didn't look like the above script included 'vlan'.  We have multiple SSIDs and just need to filter on the employee vlan.  Can vlan and status be included in the script above? and if so, whats the wording?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:37:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397167#M10</guid>
      <dc:creator>DaRusalka</dc:creator>
      <dc:date>2020-10-15T14:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Gather all Clients across an organization in Python</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397168#M11</link>
      <description>&lt;P&gt;Yes you can include the VLAN.&lt;/P&gt;&lt;P&gt;Just change this:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;                f.write(curr_clients[k]['mac'])
                f.write("\n")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;To this:&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;                f.write(curr_clients[k]['mac'])
                f.write(',')
                f.write(str(curr_clients[k]['vlan']))
                f.write("\n")&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Oct 2020 12:37:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/gather-all-clients-across-an-organization-in-python/m-p/5397168#M11</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2020-10-16T12:37:41Z</dc:date>
    </item>
  </channel>
</rss>

