<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Mitel_3300_REST_API</id>
	<title>Mitel 3300 REST API - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Mitel_3300_REST_API"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Mitel_3300_REST_API&amp;action=history"/>
	<updated>2026-05-06T15:31:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=Mitel_3300_REST_API&amp;diff=1704&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;==Example== &lt;ref&gt;http://mitelforums.com/forum/index.php?topic=13874.0&lt;/ref&gt; &lt;pre&gt; #!/usr/bin/python3  from requests_oauthlib import OAuth1Session as session  ##Consumer inform...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Mitel_3300_REST_API&amp;diff=1704&amp;oldid=prev"/>
		<updated>2021-06-25T14:10:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Example== &amp;lt;ref&amp;gt;http://mitelforums.com/forum/index.php?topic=13874.0&amp;lt;/ref&amp;gt; &amp;lt;pre&amp;gt; #!/usr/bin/python3  from requests_oauthlib import OAuth1Session as session  ##Consumer inform...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Example==&lt;br /&gt;
&amp;lt;ref&amp;gt;http://mitelforums.com/forum/index.php?topic=13874.0&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/python3&lt;br /&gt;
&lt;br /&gt;
from requests_oauthlib import OAuth1Session as session&lt;br /&gt;
&lt;br /&gt;
##Consumer information&lt;br /&gt;
consumer_name = 'sas_usp'&lt;br /&gt;
shared_secret = '...'&lt;br /&gt;
token_id = '...'&lt;br /&gt;
token_secret = '...'&lt;br /&gt;
&lt;br /&gt;
##URLs&lt;br /&gt;
baseurl = 'https://mca.tld/mslrest'&lt;br /&gt;
requesturl=baseurl + '/initiate'&lt;br /&gt;
authurl=baseurl + '/authorize'&lt;br /&gt;
accesstokenurl=baseurl + '/token'&lt;br /&gt;
pingurl=baseurl + '/ping'&lt;br /&gt;
&lt;br /&gt;
##initiate&lt;br /&gt;
oauth = session(consumer_name, client_secret=shared_secret, resource_owner_key=token_id, resource_owner_secret=token_secret)&lt;br /&gt;
&lt;br /&gt;
##Test connection&lt;br /&gt;
test = oauth.get(pingurl)&lt;br /&gt;
print(test.text)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>