
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://doc.openprovider.eu/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>API General Introduction - Revision history</title>
		<link>https://doc.openprovider.eu/index.php?title=API_General_Introduction&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.2</generator>
		<lastBuildDate>Tue, 21 Apr 2026 11:23:47 GMT</lastBuildDate>
		<item>
			<title>WikiSysop:&amp;#32;/* Building your first command */</title>
			<link>https://doc.openprovider.eu/index.php?title=API_General_Introduction&amp;diff=1594&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Building your first command&lt;/span&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:03, 26 July 2018&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setAuth(array('username' =&amp;gt; $username, 'password' =&amp;gt; $password))&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setAuth(array('username' =&amp;gt; $username, 'password' =&amp;gt; $password))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setArgs(array(&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setArgs(array(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  '&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;domain&lt;/del&gt;' =&amp;gt; array(&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  '&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;domains&lt;/ins&gt;' =&amp;gt; array(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'name' =&amp;gt; 'openprovider',&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;array(&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;/del&gt;'extension' =&amp;gt; 'nl'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;/ins&gt;'name' =&amp;gt; 'openprovider',&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;/ins&gt;'extension' =&amp;gt; 'nl'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;/del&gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;),&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  );&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-21 11:23:47 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 26 Jul 2018 11:03:10 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>https://doc.openprovider.eu/Talk:API_General_Introduction</comments>		</item>
		<item>
			<title>WikiSysop:&amp;#32;/* Building your first command */</title>
			<link>https://doc.openprovider.eu/index.php?title=API_General_Introduction&amp;diff=1593&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Building your first command&lt;/span&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:00, 26 July 2018&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setAuth(array('username' =&amp;gt; $username, 'password' =&amp;gt; $password))&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setAuth(array('username' =&amp;gt; $username, 'password' =&amp;gt; $password))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setArgs(array(&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setArgs(array(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  '&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;domains&lt;/del&gt;' =&amp;gt; array(&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  '&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;domain&lt;/ins&gt;' =&amp;gt; array(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'name' =&amp;gt; 'openprovider',&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'name' =&amp;gt; 'openprovider',&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'extension' =&amp;gt; 'nl'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'extension' =&amp;gt; 'nl'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-21 11:23:47 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 26 Jul 2018 11:00:03 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>https://doc.openprovider.eu/Talk:API_General_Introduction</comments>		</item>
		<item>
			<title>WikiSysop:&amp;#32;/* Building your first command */</title>
			<link>https://doc.openprovider.eu/index.php?title=API_General_Introduction&amp;diff=1592&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Building your first command&lt;/span&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:58, 26 July 2018&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setArgs(array(&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  -&amp;gt;setArgs(array(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  'domains' =&amp;gt; array(&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  'domains' =&amp;gt; array(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  array(&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'name' =&amp;gt; 'openprovider',&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'name' =&amp;gt; 'openprovider',&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'extension' =&amp;gt; 'nl'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  'extension' =&amp;gt; 'nl'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  ),&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;/del&gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  );&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-21 11:23:47 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 26 Jul 2018 10:58:22 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>https://doc.openprovider.eu/Talk:API_General_Introduction</comments>		</item>
		<item>
			<title>WikiSysop at 08:10, 25 September 2014</title>
			<link>https://doc.openprovider.eu/index.php?title=API_General_Introduction&amp;diff=682&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:10, 25 September 2014&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;We start with downloading our PHP class that greatly simplifies working with the API. Download this class API.php [[Example Class API PHP|here]]. Once downloaded, store it on your webserver - you will include it in any script that you create to communicate with Openprovider.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;We start with downloading our PHP class that greatly simplifies working with the API. Download this class API.php [[Example Class API PHP|here]]. Once downloaded, store it on your webserver - you will include it in any script that you create to communicate with Openprovider.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;blockquote&amp;gt;''If you think you now have enough info and can continue with an example: feel free to move to [[Example Script PHP|that example page]] right away and extend it with your own functionality using our [[Main Page|function reference]].''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;blockquote&amp;gt;''If you think you now have enough info and can continue with an example: feel free to move to [[Example Script PHP|that example page]] right away and extend it with your own functionality using our [[Main Page|function reference]].''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/blockquote&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== The first steps: initializing the API ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== The first steps: initializing the API ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-21 11:23:47 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 25 Sep 2014 08:10:55 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>https://doc.openprovider.eu/Talk:API_General_Introduction</comments>		</item>
		<item>
			<title>WikiSysop at 08:10, 25 September 2014</title>
			<link>https://doc.openprovider.eu/index.php?title=API_General_Introduction&amp;diff=681&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:10, 25 September 2014&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  $availability = $reply-&amp;gt;getValue();&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  $availability = $reply-&amp;gt;getValue();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  $availability = $availability[0]; // in this command, the response can contain multiple statuses&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  $availability = $availability[0]; // in this command, the response can contain multiple statuses&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  echo 'Availability status of '.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;xx&lt;/del&gt;.' is: '.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;xx&lt;/del&gt;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  echo 'Availability status of '.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;$availability['domain']&lt;/ins&gt;.' is: '.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;$availability['status']&lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-21 11:23:47 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 25 Sep 2014 08:10:30 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>https://doc.openprovider.eu/Talk:API_General_Introduction</comments>		</item>
		<item>
			<title>WikiSysop:&amp;#32;Created page with '= Introduction to the Openprovider API =  == What is an API? == An API, acronym for ''Application Programming Interface'', is a protocol that defines how communication should tak…'</title>
			<link>https://doc.openprovider.eu/index.php?title=API_General_Introduction&amp;diff=680&amp;oldid=prev</link>
			<description>&lt;p&gt;Created page with &amp;#39;= Introduction to the Openprovider API =  == What is an API? == An API, acronym for &amp;#39;&amp;#39;Application Programming Interface&amp;#39;&amp;#39;, is a protocol that defines how communication should tak…&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Introduction to the Openprovider API =&lt;br /&gt;
&lt;br /&gt;
== What is an API? ==&lt;br /&gt;
An API, acronym for ''Application Programming Interface'', is a protocol that defines how communication should take place between two parties, in our case between you (your website/system) and Openprovider. This communication is integrated in scripts: no manual actions from your side are required, it is all automated. Using an API, you can build a strong web application that, for example, can integrate domain availability checks on your website or even build a complete domain order form.&lt;br /&gt;
&lt;br /&gt;
If you are already familiar with APIs, you can skip the remainder of this page and directly navigate to the [[API General Howto|quick start guide]] and the [[Main Page|function reference]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;''Did you know? The Openprovider control panel is completely built on the API. Do not ask what our API can do: the answer is &amp;quot;everything&amp;quot;!''&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Pre-requirement: download API.php ==&lt;br /&gt;
&amp;lt;blockquote&amp;gt;''This page contains a number of examples in PHP and introduces a PHP class for easier API reference. If you use another programming language, feel free to read further but you might not get all answers you are expecting - just the global ideas.''&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We start with downloading our PHP class that greatly simplifies working with the API. Download this class API.php [[Example Class API PHP|here]]. Once downloaded, store it on your webserver - you will include it in any script that you create to communicate with Openprovider.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;''If you think you now have enough info and can continue with an example: feel free to move to [[Example Script PHP|that example page]] right away and extend it with your own functionality using our [[Main Page|function reference]].''&lt;br /&gt;
&lt;br /&gt;
== The first steps: initializing the API ==&lt;br /&gt;
Now, start a new PHP script. Include the API class and define the API to connect to use the Openprovider API server. For convenience, we define our username and password here:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
 &lt;br /&gt;
   require_once('API.php');&lt;br /&gt;
   $api = new OP_API ('https://api.openprovider.eu');&lt;br /&gt;
 &lt;br /&gt;
   $username = &amp;quot;&amp;quot;;&lt;br /&gt;
   $password = &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
Now the API is ready to use! Every command will follow the same simple array-based structure which we introduce in the next section.&lt;br /&gt;
&lt;br /&gt;
== Building your first command ==&lt;br /&gt;
Let's first start with a simple domain availability check. Once finished with this step, you can integrate this script in your website and provide your customers a realtime domain check!&lt;br /&gt;
&lt;br /&gt;
Each command starts with creating a new OP_Request object. Do not forget this step, as the results will then be... surprising.&lt;br /&gt;
&lt;br /&gt;
   $request = new OP_Request;&lt;br /&gt;
&lt;br /&gt;
Now we build the array that forms the request itself. It starts with setting the command, then an authentication section and finally the command-specific parameters, in this case just a domain name and extension:&lt;br /&gt;
&lt;br /&gt;
   $request-&amp;gt;setCommand('checkDomainRequest')&lt;br /&gt;
     -&amp;gt;setAuth(array('username' =&amp;gt; $username, 'password' =&amp;gt; $password))&lt;br /&gt;
     -&amp;gt;setArgs(array(&lt;br /&gt;
       'domains' =&amp;gt; array(&lt;br /&gt;
           array(&lt;br /&gt;
             'name' =&amp;gt; 'openprovider',&lt;br /&gt;
             'extension' =&amp;gt; 'nl'&lt;br /&gt;
           ),&lt;br /&gt;
         )&lt;br /&gt;
       )&lt;br /&gt;
     );&lt;br /&gt;
&lt;br /&gt;
Once the command has been built, we must send it to Openprovider!&lt;br /&gt;
&lt;br /&gt;
   $reply = $api-&amp;gt;setDebug(1)-&amp;gt;process($request);&lt;br /&gt;
&lt;br /&gt;
The ''setDebug'' parameter enables you to find problems in your commands: empty variables, wrong values, ... It will output both the command and the response XML strings. In a production environment, leave this out. The call will then be&lt;br /&gt;
&lt;br /&gt;
   $reply = $api-&amp;gt;process($request);&lt;br /&gt;
&lt;br /&gt;
== Interpreting the response ==&lt;br /&gt;
There are three functions that allow you to process the response of Openprovider very easily:&lt;br /&gt;
* '''getFaultCode()''' will return a '0' if everything was okay. If not, the error code is returned.&lt;br /&gt;
* '''getFaultString()''' allows you to retrieve a more descriptive error&lt;br /&gt;
* '''getValue()''' returns the data section of the response, if any&lt;br /&gt;
&lt;br /&gt;
An example of all three functions is the following:&lt;br /&gt;
&lt;br /&gt;
   if ($reply-&amp;gt;getFaultCode() != 0) {&lt;br /&gt;
     die('Error ['.$reply-&amp;gt;getFaultCode().'] occurred: '.$reply-&amp;gt;getFaultString());&lt;br /&gt;
   }&lt;br /&gt;
   else {&lt;br /&gt;
     $availability = $reply-&amp;gt;getValue();&lt;br /&gt;
     $availability = $availability[0]; // in this command, the response can contain multiple statuses&lt;br /&gt;
     echo 'Availability status of '.xx.' is: '.xx;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
That's it - you just built your first script with the Openprovider API and you can immediately include it on your website and provide your customers with a nice availability check function!&lt;br /&gt;
&lt;br /&gt;
== Extending your script(s) ==&lt;br /&gt;
Now you understand the basics of the API, it's time to look further. Our [[Main Page|function reference]] contains an overview of all available commands and their input and output parameters, including examples on how to call such command.&lt;br /&gt;
&lt;br /&gt;
And if you encounter problems or have questions: do not hesitate to contact our support department!&lt;/div&gt;</description>
			<pubDate>Thu, 25 Sep 2014 08:08:17 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>https://doc.openprovider.eu/Talk:API_General_Introduction</comments>		</item>
	</channel>
</rss>