<?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: Getting Started with Meraki API using Python Part 3 in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421661#M3543</link>
    <description>&lt;P&gt;You know how you say defining your API key in the source code is not recommended and then go on to do exactly that in training material designed for beginners?&lt;/P&gt;&lt;P&gt;I know this makes for an easier example - but what you are doing is training beginners to start a bad habit.&lt;/P&gt;&lt;P&gt;Otherwise - great effort!&lt;/P&gt;</description>
    <pubDate>Sun, 11 Sep 2022 19:55:24 GMT</pubDate>
    <dc:creator>Philip D'Ath</dc:creator>
    <dc:date>2022-09-11T19:55:24Z</dc:date>
    <item>
      <title>Getting Started with Meraki API using Python Part 3: Data Processing</title>
      <link>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421660#M3542</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Getting Started with Meraki API using Python Part 3&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Hi Everyone! Welcome to Part 3 of a series of posts to get you started with Meraki APIs using Python!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;In the last part we saw how to use the Meraki library in Python to do a GET request in order to retrieve a list of organizations and how to securely use your API key, but we ended up with a response that is hard to read and process by just looking at it. We would need a way to be able to process the response, to do things like filter the list to look at specific organizations or maybe even get only certain fields from the list like the organization name and ID. In this post we will look at how to use python to process the response.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;If you haven’t gone through &lt;/SPAN&gt;&lt;A href="https://community.meraki.com/t5/Developers-APIs/Getting-started-with-Meraki-API-using-Python-Part-I/m-p/156828#M6444" target="_blank"&gt;&lt;SPAN&gt;Part 1&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="https://community.meraki.com/t5/Developers-APIs/Getting-started-with-Meraki-API-using-Python-Part-2/m-p/158157#M6506" target="_blank"&gt;&lt;SPAN&gt;Part 2&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; yet, please do so before proceeding.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;So, at this point, we have the following output after issuing the GET list of organizations.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_0-1662735619230.png" style="width: 605px;"&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/262828iEDC9FABE4CA49E93/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;&lt;SPAN&gt;The text within the red box is the list of organizations. How can we process/filter this? &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;First let us check what Python thinks of this response by using the type method.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_1-1662735618838.png" style="width: 400px;"&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/262826i420BCB2FFAE7F1B4/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;&lt;SPAN&gt;Here we can see that Python see’s the response as a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;“list”&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt; datatype.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;To keep it simple, a &lt;EM&gt;&lt;STRONG&gt;list&lt;/STRONG&gt;&lt;/EM&gt; in python is just a list of items, for eg:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;[‘item 1’, ‘item 2’, ‘item 3’]&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;We can store this list in a variable so we can always refer to the list by name whenever we need it.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_2-1662735618856.png" style="width: 400px;"&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/262827i86029628AFAAE543/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;&lt;SPAN&gt;Now we have a list of items stored in a variable called items. Now, if I wanted just one of the items in the list I can call it by its index number. Please keep in mind, Python always starts counting from 0 instead of 1.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;So each item has the following index value:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_3-1662735618857.png" style="width: 400px;"&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/262831i235CF4317D044ABB/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;&lt;SPAN&gt;Of course, this is a small list. What if the list had a large number of items (like our list of orgs)?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;One way to parse through this list is to use a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;“for”&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt; loop as follows:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_4-1662735618861.png" style="width: 400px;"&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/262829i15B75B1A1AE1C31B/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;&lt;SPAN&gt;So let us try the &lt;EM&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/EM&gt; loop with our list of orgs which is stored in response variable, we will print out the org ID and its name.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_5-1662735618867.png" style="width: 400px;"&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/262830i6AEC6FF02ED6AD98/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;&lt;SPAN&gt;Here we iterate through each item stored in &lt;EM&gt;&lt;STRONG&gt;response&lt;/STRONG&gt;&lt;/EM&gt; (each item being an organization) and store it in a variable called &lt;EM&gt;&lt;STRONG&gt;org.&lt;/STRONG&gt;&lt;/EM&gt; Then we print out whatever is stored in &lt;EM&gt;&lt;STRONG&gt;org&lt;/STRONG&gt;&lt;/EM&gt;. Try it out yourself!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Here is the output:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_6-1662735619167.png" style="width: 742px;"&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/262832i8A1715AE275ACC62/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;&lt;SPAN&gt;Each item in &lt;EM&gt;&lt;STRONG&gt;response&lt;/STRONG&gt;&lt;/EM&gt; is now printed one line at a time. Great!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;We can see each organization has some parameters such as &lt;EM&gt;&lt;STRONG&gt;id, name, url&lt;/STRONG&gt;&lt;/EM&gt; etc. We probably don’t want all of that, maybe just the &lt;EM&gt;&lt;STRONG&gt;name&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/EM&gt;. How do we extract those? &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;For that let us check what data type Python sees in each item stored in the variable org.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_7-1662735618944.png" style="width: 400px;"&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/262833iD23B21D66FE66DD3/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;&lt;SPAN&gt;Here we use the same &lt;EM&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/EM&gt; loop to iterate through each item in &lt;EM&gt;&lt;STRONG&gt;response&lt;/STRONG&gt;&lt;/EM&gt;, but we now ask to print the type of data in the variable org using the type method, then we print the data stored in &lt;EM&gt;&lt;STRONG&gt;org&lt;/STRONG&gt;&lt;/EM&gt; as well, I have also added a &lt;EM&gt;&lt;STRONG&gt;print&lt;/STRONG&gt;&lt;/EM&gt; to add a line after each item so the output is easier to read.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Here is the output:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_8-1662735619053.png" style="width: 716px;"&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/262834i87B458462B5D78E3/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;&lt;SPAN&gt;Here we can see that each item is seen as &lt;EM&gt;&lt;STRONG&gt;type class dict&lt;/STRONG&gt;&lt;/EM&gt;. What is that?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Dict&lt;/STRONG&gt; &lt;/EM&gt;refers to a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;“dictionary”&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt; which in Python is another data type. An example is shown below:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_9-1662735618890.png" style="width: 400px;"&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/262835i3620794542444EAD/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;&lt;SPAN&gt;Here we have a variable called &lt;EM&gt;&lt;STRONG&gt;d_items&lt;/STRONG&gt;&lt;/EM&gt; and it has &lt;EM&gt;&lt;STRONG&gt;name, weight&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;height&lt;/STRONG&gt;&lt;/EM&gt; values. These are called &lt;STRONG&gt;key:value&lt;/STRONG&gt; pairs, the keys being in this case &lt;EM&gt;&lt;STRONG&gt;name, weight and height&lt;/STRONG&gt;&lt;/EM&gt;, the values being &lt;EM&gt;&lt;STRONG&gt;X, XX&lt;/STRONG&gt; &lt;/EM&gt;and &lt;EM&gt;&lt;STRONG&gt;YY&lt;/STRONG&gt; &lt;/EM&gt;respectively. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;So what if I wanted just the name from &lt;EM&gt;&lt;STRONG&gt;d_items&lt;/STRONG&gt;&lt;/EM&gt;?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_10-1662735618857.png" style="width: 400px;"&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/262838i073A4A68CAFBC21B/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;&lt;SPAN&gt;Simple! What we did here was called on the key called &lt;EM&gt;&lt;STRONG&gt;name&lt;/STRONG&gt;&lt;/EM&gt; here and used the &lt;EM&gt;&lt;STRONG&gt;print&lt;/STRONG&gt;&lt;/EM&gt; statement to print the value stored in &lt;EM&gt;&lt;STRONG&gt;‘name’.&lt;/STRONG&gt;&lt;/EM&gt; Let us try this now with our list of organizations stored in &lt;EM&gt;&lt;STRONG&gt;response&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_11-1662735618879.png" style="width: 400px;"&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/262836i4B3736DC7CB56A42/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;&lt;SPAN&gt;Here is the output:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_12-1662735618889.png" style="width: 400px;"&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/262837iFDE20BF2A7C88031/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;&lt;SPAN&gt;Ha! Now we just printed out the name of the org’s! What if we needed the organization ID as well? Simply, we just add that to our print statement.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_13-1662735618880.png" style="width: 400px;"&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/262840iBBA7976DA1BB01D8/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;&lt;SPAN&gt;Cool, now we got the organization name and its ID!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;So, in this way we just use the key name in our print statement to print the values stored in the key.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Now, what if I wanted to just print out the name and ID of only one org, not the whole list? No problem! Assuming you know what organization you are after, we can use if..else condition to do that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_14-1662735618845.png" style="width: 400px;"&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/262839i9C216D54E41818F0/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;&lt;SPAN&gt;Here we use an&lt;EM&gt;&lt;STRONG&gt; if&lt;/STRONG&gt;&lt;/EM&gt; condition. We say that if the organization name key has a value “&lt;EM&gt;&lt;STRONG&gt;DevNet Sandbox”&lt;/STRONG&gt;&lt;/EM&gt;, then we print the &lt;EM&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/EM&gt; and the &lt;EM&gt;&lt;STRONG&gt;name&lt;/STRONG&gt;&lt;/EM&gt;, otherwise do nothing. So in the output we see the organization id and name of &lt;EM&gt;&lt;STRONG&gt;DevNet Sandbox&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Now, lets try a more complex one, let us say we want the organization name and also the cloud region for the organization.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_15-1662735618888.png" style="width: 400px;"&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/262841i9EF43438B8906CC9/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;&lt;SPAN&gt;Aha! Now we have the organization name and its location! What happened here? Let’s look closely at a section in the print statement, &lt;EM&gt;&lt;STRONG&gt;org[‘cloud’][‘region’][‘name’]&lt;/STRONG&gt;&lt;/EM&gt;. If we look back at the time when we printed each organization as is, this is what we saw.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arun_TE_16-1662735618913.png" style="width: 1767px;"&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/262842i9210141BEAA3BC89/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;&lt;SPAN&gt;The cloud location is stored in ‘cloud’ and within that in ‘region’ and then within ‘region’, ‘name’. Or in other words it's nested as cloud -&amp;gt; region -&amp;gt; name. So to get to the value nested, we follow the hierarchy, &lt;EM&gt;&lt;STRONG&gt;p&lt;/STRONG&gt;&lt;STRONG&gt;rint org[‘cloud’][‘region’][‘name’],&lt;/STRONG&gt;&lt;/EM&gt; simple!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Ok, now that we have seen how to process a response from the dashboard using for and if statements, I will leave it here and let you try and explore with this.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;We will sign off here now, but look out for Part 4 in this series to continue the journey further!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Please leave your comments/questions/feedback below to help us continue this further. Also don’t forget to &lt;/SPAN&gt;&lt;A href="https://community.meraki.com/t5/forums/filteredbylabelpage/board-id/api/label-name/getting%20started" target="_blank"&gt;&lt;SPAN&gt;subscribe to Getting Started&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; to get notified on the next post!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 15:09:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421660#M3542</guid>
      <dc:creator>Arun_TE</dc:creator>
      <dc:date>2022-09-09T15:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Started with Meraki API using Python Part 3</title>
      <link>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421661#M3543</link>
      <description>&lt;P&gt;You know how you say defining your API key in the source code is not recommended and then go on to do exactly that in training material designed for beginners?&lt;/P&gt;&lt;P&gt;I know this makes for an easier example - but what you are doing is training beginners to start a bad habit.&lt;/P&gt;&lt;P&gt;Otherwise - great effort!&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 19:55:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421661#M3543</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2022-09-11T19:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Started with Meraki API using Python Part 3</title>
      <link>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421662#M3544</link>
      <description>&lt;P&gt;Fair point, but the code used here is directly from the API docs, so basically one would do the same to test stuff(as I have done here using ipython), the API key used here is publicly usable. After testing, in the final code, as you say I wouldn't just store the key as a variable. &lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 21:08:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421662#M3544</guid>
      <dc:creator>Arun_TE</dc:creator>
      <dc:date>2022-09-11T21:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Started with Meraki API using Python Part 3</title>
      <link>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421663#M3545</link>
      <description>&lt;P&gt;As you're going deeper, you might want to introduce Pandas to convert the JSON output to CSV.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 21:43:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421663#M3545</guid>
      <dc:creator>Happiman66</dc:creator>
      <dc:date>2022-09-19T21:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Started with Meraki API using Python Part 3</title>
      <link>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421664#M3546</link>
      <description>&lt;P&gt;Thanks for the suggestion &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/13162"&gt;@Happiman66&lt;/A&gt; ! It's a good idea, already in the roadmap &lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 19:15:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421664#M3546</guid>
      <dc:creator>Arun_TE</dc:creator>
      <dc:date>2022-09-20T19:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Started with Meraki API using Python Part 3: Data Processing</title>
      <link>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421665#M3547</link>
      <description>&lt;P&gt;Im chiming in kinda late but what about using the pprint&lt;SPAN&gt; (pretty print) module in Python to make the printed response easier to read?  Any drawback to that?  Or was your intention purely to teach us some python?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 02:25:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/getting-started-with-meraki-api-using-python-part-3-data/m-p/5421665#M3547</guid>
      <dc:creator>golden-goat</dc:creator>
      <dc:date>2023-05-29T02:25:23Z</dc:date>
    </item>
  </channel>
</rss>

