<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/19399" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2013-04-12T01:36:55-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/19399</id>

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-04-12T01:36:55-04:00</updated>

		<published>2013-04-12T01:36:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101371#p101371</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101371#p101371"/>
		<title type="html"><![CDATA[fetch from api]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101371#p101371"><![CDATA[
You need to use the <a href="http://www.tcl.tk/man/tcl8.6/TclCmd/http.htm" class="postlink">http</a> package for this.<br><br>Here's an example:<div class="codebox"><p>Code: </p><pre><code>package require httpset url "http://www.mypage.com/api/whatever"set token [::http::geturl $url]set content [::http::data $token]::http::cleanup $content</code></pre></div>and then use $content variable to do whatever you want with it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Apr 12, 2013 1:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fr3aK]]></name></author>
		<updated>2013-04-11T12:14:37-04:00</updated>

		<published>2013-04-11T12:14:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101369#p101369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101369#p101369"/>
		<title type="html"><![CDATA[fetch from api]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101369#p101369"><![CDATA[
Hello,<br>I am searching for a script which perform search in api, then shows the result when user types a command. Can you help me? I will be very thankful and for tut.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12221">Fr3aK</a> — Thu Apr 11, 2013 12:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
