<?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: Rest API using Python in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/3507794#M1519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Falvio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of blogs that reference a GitHub repository.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/migration-blogpost/7993"&gt;Template based provisioning with Cisco Prime Infrastructure – Part 1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/migration-blogpost/8009"&gt;Template based provisioning with Cisco Prime Infrastructure Part 2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 06:29:36 GMT</pubDate>
    <dc:creator>aradford</dc:creator>
    <dc:date>2017-02-24T06:29:36Z</dc:date>
    <item>
      <title>Rest API using Python</title>
      <link>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/3507792#M1517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one here using Python with requests to give me some guidance or basic script examples ?&amp;nbsp; All I got so far was the html code from Prime.&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 03:30:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/3507792#M1517</guid>
      <dc:creator>Flavio Miranda</dc:creator>
      <dc:date>2017-02-24T03:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API using Python</title>
      <link>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/3507793#M1518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you seen this&lt;/P&gt;&lt;P&gt;&lt;SPAN class="line"&gt;&lt;SPAN class="kn"&gt;"import&lt;/SPAN&gt; &lt;SPAN class="nn"&gt;requests&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="line"&gt; &lt;/SPAN&gt;&lt;SPAN class="line"&gt;&lt;SPAN class="n"&gt;resp&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;requests&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;get&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://todolist.example.com/tasks/" rel="nofollow" target="_blank"&gt;https://todolist.example.com/tasks/&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="line"&gt;&lt;SPAN class="k"&gt;if&lt;/SPAN&gt; &lt;SPAN class="n"&gt;resp&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;status_code&lt;/SPAN&gt; &lt;SPAN class="o"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="mi"&gt;200&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="line"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="c"&gt;# This means something went wrong.&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="line"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="k"&gt;raise&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ApiError&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'GET /tasks/ {}'&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;format&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;resp&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;status_code&lt;/SPAN&gt;&lt;SPAN class="p"&gt;))&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="line"&gt;&lt;SPAN class="k"&gt;for&lt;/SPAN&gt; &lt;SPAN class="n"&gt;todo_item&lt;/SPAN&gt; &lt;SPAN class="ow"&gt;in&lt;/SPAN&gt; &lt;SPAN class="n"&gt;resp&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;json&lt;/SPAN&gt;&lt;SPAN class="p"&gt;():&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="line"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="k"&gt;print&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'{} {}'&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;format&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;todo_item&lt;/SPAN&gt;&lt;SPAN class="p"&gt;[&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'id'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;],&lt;/SPAN&gt; &lt;SPAN class="n"&gt;todo_item&lt;/SPAN&gt;&lt;SPAN class="p"&gt;[&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'summary'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;]))&lt;/SPAN&gt; "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="line"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="line"&gt;&lt;A href="https://realpython.com/blog/python/api-integration-in-python/"&gt;Source&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 03:54:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/3507793#M1518</guid>
      <dc:creator>Gallifrean</dc:creator>
      <dc:date>2017-02-24T03:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API using Python</title>
      <link>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/3507794#M1519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Falvio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of blogs that reference a GitHub repository.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/migration-blogpost/7993"&gt;Template based provisioning with Cisco Prime Infrastructure – Part 1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/migration-blogpost/8009"&gt;Template based provisioning with Cisco Prime Infrastructure Part 2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 06:29:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/3507794#M1519</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-02-24T06:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API using Python</title>
      <link>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/4899113#M2593</link>
      <description>&lt;P&gt;HTML? Do you mean URL?&lt;/P&gt;&lt;P&gt;APIs use URLs and JSON.&lt;/P&gt;&lt;P&gt;What exactly are you trying to do?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2023 06:22:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/rest-api-using-python/m-p/4899113#M2593</guid>
      <dc:creator>brian420</dc:creator>
      <dc:date>2023-08-05T06:22:25Z</dc:date>
    </item>
  </channel>
</rss>

