<?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: Attempting to automate creating network objects and groups using Meraki API and python in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442769#M6634</link>
    <description>&lt;P&gt;Thanks Philip, I might give that a try. I was using ChatGPT as a sounding board, but it's information it was using is a bit dated. It was completely wrong with the API paths.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 21:22:46 GMT</pubDate>
    <dc:creator>EBuck</dc:creator>
    <dc:date>2023-07-27T21:22:46Z</dc:date>
    <item>
      <title>Attempting to automate creating network objects and groups using Meraki API and python</title>
      <link>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442767#M6632</link>
      <description>&lt;P&gt;I am developing a python application to automate creating FQDN network policy objects and policy groups and then load the newly created objects into the new group(s). My application works to create the objects and the groups, but I am uncertain which path is needed to put the new objects into the new group(s). From what I can see from the documentation for the API I need to use &lt;A href="https://api.meraki.com/api/v1/organizations/{org_id}/policyObjects/groups/{group_id}" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/organizations/{org_id}/policyObjects/groups/{group_id}&lt;/A&gt; load the objects. Obviously, group_id is the variable I am using to store the object id of the current group I am working with. I have some error checking in my code so I can validate the obj id for the group I want is what is getting passed into the variable, but when running the code, I get a page not found error. Is there a different path I should be using? The other paths I am using are &lt;A href="https://api.meraki.com/api/v1/organizations/{org_id}/policyObjects" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/organizations/{org_id}/policyObjects&lt;/A&gt; to create the network policy object and &lt;A href="https://api.meraki.com/api/v1/organizations/{org_id}/policyObjects/groups" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/organizations/{org_id}/policyObjects/groups&lt;/A&gt; to create the groups.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 16:00:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442767#M6632</guid>
      <dc:creator>EBuck</dc:creator>
      <dc:date>2023-07-27T16:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to automate creating network objects and groups using Meraki API and python</title>
      <link>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442768#M6633</link>
      <description>&lt;P&gt;I haven't investigated this ... but I can tell you that Google Bard is excellent at writing Python scripts using the Meraki API ...&lt;/P&gt;&lt;P&gt;&lt;A href="https://bard.google.com/" target="_self" rel="nofollow noopener noreferrer"&gt;https://bard.google.com/&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 21:19:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442768#M6633</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2023-07-27T21:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to automate creating network objects and groups using Meraki API and python</title>
      <link>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442769#M6634</link>
      <description>&lt;P&gt;Thanks Philip, I might give that a try. I was using ChatGPT as a sounding board, but it's information it was using is a bit dated. It was completely wrong with the API paths.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 21:22:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442769#M6634</guid>
      <dc:creator>EBuck</dc:creator>
      <dc:date>2023-07-27T21:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to automate creating network objects and groups using Meraki API and python</title>
      <link>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442770#M6635</link>
      <description>&lt;P&gt;I gave up using ChatGPT.  It's just not that good at this task.&lt;/P&gt;&lt;P&gt;Google Bard - it is on hole different level.&lt;/P&gt;&lt;P&gt;I can't understand why people keep using ChatGPT when Bard is both free and so much better.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 21:28:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/attempting-to-automate-creating-network-objects-and-groups-using/m-p/5442770#M6635</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2023-07-27T21:28:12Z</dc:date>
    </item>
  </channel>
</rss>

