<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Api – Yeri Tiete</title>
    <link>https://yeri.be/tag/api/</link>
    <description>Yeri Tiete&#39;s blog</description>
    <language>en</language>
    <copyright>© Yeri Tiete</copyright>
    <lastBuildDate>Thu, 12 Aug 2010 22:57:05 +0200</lastBuildDate>
    <atom:link href="https://yeri.be/tag/api/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>iRail Trac</title>
      <link>https://yeri.be/irail-trac/</link>
      <pubDate>Thu, 12 Aug 2010 22:57:05 +0200</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/irail-trac/</guid>
      <description>&lt;p&gt;iRail project page is located at &lt;a href=&#34;http://project.irail.be&#34; target=&#34;_blank&#34;&gt;project.irail.be&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Also, biggest issue (&lt;a href=&#34;http://project.irail.be/cgi-bin/trac.fcgi/ticket/3&#34; target=&#34;_blank&#34;&gt;station bug&lt;/a&gt;) seems to have been fixed in the API (mobile site soon!). Thanks &lt;a href=&#34;http://bonsansnom.wordpress.com/&#34; target=&#34;_blank&#34;&gt;Pieter Colpaert&lt;/a&gt;.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>iRail project page is located at <a href="http://project.irail.be" target="_blank">project.irail.be</a>.</p>
<p>Also, biggest issue (<a href="http://project.irail.be/cgi-bin/trac.fcgi/ticket/3" target="_blank">station bug</a>) seems to have been fixed in the API (mobile site soon!). Thanks <a href="http://bonsansnom.wordpress.com/" target="_blank">Pieter Colpaert</a>.</p>
]]></content:encoded>
      <category>irail</category><category>www</category>
      <category>api</category><category>iphone</category><category>nmbs</category><category>sncb</category>
    </item>
    
    <item>
      <title>iRail updates</title>
      <link>https://yeri.be/irail-updates-2/</link>
      <pubDate>Fri, 06 Aug 2010 11:17:31 +0200</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/irail-updates-2/</guid>
      <description>&lt;p&gt;We&amp;rsquo;ve been busy.&lt;/p&gt;&#xA;&lt;p&gt;First of all, big thanks for all the code and help from &lt;a href=&#34;http://bonsansnom.wordpress.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Pieter Colpaert&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Updates:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;    &lt;li&gt;&lt;a href=&#34;http://api.irail.be/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;API&lt;/a&gt; (extreme beta), thanks Pieter (&lt;a href=&#34;http://project.irail.be/wiki/API&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;wiki&lt;/a&gt;),&lt;/li&gt;&#xA;    &lt;li&gt;Code clean up, improvements,&lt;/li&gt;&#xA;    &lt;li&gt;&lt;a href=&#34;https://yeri.be/irail-station-bugs/&#34;&gt;Station bug&lt;/a&gt; has not been solved, yet -- working on it, (edit: &lt;a href=&#34;http://project.irail.be/cgi-bin/trac.fcgi/ticket/3&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;fixed&lt;/a&gt;)&lt;/li&gt;&#xA;    &lt;li&gt;iRail &lt;a href=&#34;https://lists-archive.okfn.org/pipermail/irail/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;mailing list&lt;/a&gt;, for easy communication (&lt;a href=&#34;https://web.archive.org/web/20100829202226/http://project.irail.be:80/cgi-bin/trac.fcgi/wiki/MailingList&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;wiki&lt;/a&gt; / &lt;a href=&#34;https://lists-archive.okfn.org/pipermail/irail/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;archive&lt;/a&gt;).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;And again, &lt;a href=&#34;http://yehudakatz.com/2010/05/13/common-git-workflows/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Git&lt;/a&gt; repo located &lt;a href=&#34;http://github.com/Tuinslak/iRail&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;here&lt;/a&gt;. Feel free to participate. :)&lt;/p&gt;&#xA;&lt;p&gt;You can very easily &lt;a href=&#34;http://github.com/Tuinslak/iRail/network&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;fork&lt;/a&gt; my Git repository, all working improvements will be merged to the main stream.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>We&rsquo;ve been busy.</p>
<p>First of all, big thanks for all the code and help from <a href="http://bonsansnom.wordpress.com/" target="_blank" rel="noopener noreferrer">Pieter Colpaert</a>.</p>
<p>Updates:</p>
<ul>
    <li><a href="http://api.irail.be/" target="_blank" rel="noopener noreferrer">API</a> (extreme beta), thanks Pieter (<a href="http://project.irail.be/wiki/API" target="_blank" rel="noopener noreferrer">wiki</a>),</li>
    <li>Code clean up, improvements,</li>
    <li><a href="https://yeri.be/irail-station-bugs/">Station bug</a> has not been solved, yet -- working on it, (edit: <a href="http://project.irail.be/cgi-bin/trac.fcgi/ticket/3" target="_blank" rel="noopener noreferrer">fixed</a>)</li>
    <li>iRail <a href="https://lists-archive.okfn.org/pipermail/irail/" target="_blank" rel="noopener noreferrer">mailing list</a>, for easy communication (<a href="https://web.archive.org/web/20100829202226/http://project.irail.be:80/cgi-bin/trac.fcgi/wiki/MailingList" target="_blank" rel="noopener noreferrer">wiki</a> / <a href="https://lists-archive.okfn.org/pipermail/irail/" target="_blank" rel="noopener noreferrer">archive</a>).</li>
</ul>
<p>And again, <a href="http://yehudakatz.com/2010/05/13/common-git-workflows/" target="_blank" rel="noopener noreferrer">Git</a> repo located <a href="http://github.com/Tuinslak/iRail" target="_blank" rel="noopener noreferrer">here</a>. Feel free to participate. :)</p>
<p>You can very easily <a href="http://github.com/Tuinslak/iRail/network" target="_blank" rel="noopener noreferrer">fork</a> my Git repository, all working improvements will be merged to the main stream.</p>
]]></content:encoded>
      <category>irail</category><category>www</category>
      <category>api</category><category>iphone</category><category>nmbs</category><category>sncb</category>
    </item>
    
    <item>
      <title>iRail is back</title>
      <link>https://yeri.be/irail-is-back/</link>
      <pubDate>Tue, 06 Jul 2010 09:00:13 +0200</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/irail-is-back/</guid>
      <description>&lt;p&gt;After careful consideration with my lawyer &lt;a href=&#34;http://www.dbkv.eu/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Ywein Van den Brande&lt;/a&gt;, I have decided to put &lt;a href=&#34;http://irail.be&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;iRail&lt;/a&gt; &lt;a href=&#34;https://yeri.be/stopping-irail-be/&#34;&gt;back online&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The copy of the letter to the NMBS/SNCB can be viewed &lt;a href=&#34;https://static.yeri.be/2010/07/S35C-410070513190.pdf&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Minor modifications have been made to make it work correctly again with the new route planner of the NMBS/SNCB (&lt;a href=&#34;https://web.archive.org/web/20100709220401/http://irail.be:80/changelog&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;changelog&lt;/a&gt;); and I&amp;rsquo;ll keep working on it to optimise it (next on the todo list is a better results page). Also, feedback is always welcome&amp;hellip; But mail me; not the NMBS/SNCB. ;)&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>After careful consideration with my lawyer <a href="http://www.dbkv.eu/" target="_blank" rel="noopener noreferrer">Ywein Van den Brande</a>, I have decided to put <a href="http://irail.be" target="_blank" rel="noopener noreferrer">iRail</a> <a href="https://yeri.be/stopping-irail-be/">back online</a>.</p>
<p>The copy of the letter to the NMBS/SNCB can be viewed <a href="https://static.yeri.be/2010/07/S35C-410070513190.pdf" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>Minor modifications have been made to make it work correctly again with the new route planner of the NMBS/SNCB (<a href="https://web.archive.org/web/20100709220401/http://irail.be:80/changelog" target="_blank" rel="noopener noreferrer">changelog</a>); and I&rsquo;ll keep working on it to optimise it (next on the todo list is a better results page). Also, feedback is always welcome&hellip; But mail me; not the NMBS/SNCB. ;)</p>
<p>Also, dear NMBS/SNCB, please provide us with an <a href="http://en.wikipedia.org/wiki/Api" target="_blank" rel="noopener noreferrer">API</a>. Clearly, I&rsquo;m not the only one interested in open data and APIs. This would make small projects like this quite a bit easier and would greatly increase the end quality. Data scraping just doesn&rsquo;t fit <a href="http://en.wikipedia.org/wiki/Web_2.0#Web_APIs" target="_blank" rel="noopener noreferrer">web2.0</a>.</p>
<p>I&rsquo;d like to gratefully thank everyone for the amazing support, and special thanks go to Ywein Van den Brande, <a href="http://www.treinvertragingen.com/" target="_blank" rel="noopener noreferrer">Sébastien Boelpaep</a> and <a href="http://twitter.com/VincentVQ/status/16923940334" target="_blank" rel="noopener noreferrer">Vincent Van Quickenborne</a>.</p>
<p>Have a nice day,</p>
<p>Yeri Tiete
iRail.be</p>
<p>Edit: Due to a bug in the querying, not all station information is displayed correctly and an error page is shown. <a href="https://yeri.be/irail-station-bugs/">Working to get it solved</a>.</p>
]]></content:encoded>
      <category>irail</category><category>www</category>
      <category>api</category><category>iphone</category><category>nmbs</category><category>sncb</category>
    </item>
    
    <item>
      <title>NMBS API?</title>
      <link>https://yeri.be/nmbs-api/</link>
      <pubDate>Sun, 14 Sep 2008 04:43:14 +0200</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/nmbs-api/</guid>
      <description>&lt;p&gt;While trying to find an &lt;a href=&#34;https://web.archive.org/web/20100420105842/http://www.netsensei.nl:80/archives/openclosed-nmbs/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;API&lt;/a&gt; or &amp;ldquo;&lt;a href=&#34;https://web.archive.org/web/20130525042556/http://www.bornontheweb.be/2007/11/26/an-nmbs-open-web-service&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;mobile&lt;/a&gt;&amp;rdquo; (read: iPhone) access for the &lt;a href=&#34;http://www.b-rail.be/main/N/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;NMBS&lt;/a&gt; website, I came upon some cool stuff.&lt;/p&gt;&#xA;&lt;p&gt;The time table and train managing software seems made in Germany. The &lt;a href=&#34;https://web.archive.org/web/20140703161130/http://hari.b-holding.be:80/hafas/bin/query.exe/nn?&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;NMBS &amp;ldquo;look up&amp;rdquo; site&lt;/a&gt; gives you the software and version it is using (&amp;quot;&lt;em&gt;Software versie/dataversie: &lt;a href=&#34;https://web.archive.org/web/20080827165535/http://www.railplanner.co.uk/producthafas.php&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;HAFAS&lt;/a&gt; 5.21.B-RAIL.4.7f/5.21.B-RAIL.4.7k - 14/09/08&lt;/em&gt;&amp;quot;).&lt;/p&gt;&#xA;&lt;p&gt;Googling for Hafas returns some cool websites.&lt;/p&gt;&#xA;&lt;p&gt;Using &lt;a href=&#34;http://print2web.hafas.de/hst/db/tb/query-p2w.exe/en?L=vs_p2w&amp;amp;whichTask=pf&amp;amp;&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;this one&lt;/a&gt;, you can download a &lt;a href=&#34;https://static.yeri.be/2008/09/vilvoordeantwerpen_centraal.pdf&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;pdf&lt;/a&gt; with all train (including hours) info between two stations. Not quite the same as an API-key, but at least you have something you can save and use lateron.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>While trying to find an <a href="https://web.archive.org/web/20100420105842/http://www.netsensei.nl:80/archives/openclosed-nmbs/" target="_blank" rel="noopener noreferrer">API</a> or &ldquo;<a href="https://web.archive.org/web/20130525042556/http://www.bornontheweb.be/2007/11/26/an-nmbs-open-web-service" target="_blank" rel="noopener noreferrer">mobile</a>&rdquo; (read: iPhone) access for the <a href="http://www.b-rail.be/main/N/" target="_blank" rel="noopener noreferrer">NMBS</a> website, I came upon some cool stuff.</p>
<p>The time table and train managing software seems made in Germany. The <a href="https://web.archive.org/web/20140703161130/http://hari.b-holding.be:80/hafas/bin/query.exe/nn?" target="_blank" rel="noopener noreferrer">NMBS &ldquo;look up&rdquo; site</a> gives you the software and version it is using (&quot;<em>Software versie/dataversie: <a href="https://web.archive.org/web/20080827165535/http://www.railplanner.co.uk/producthafas.php" target="_blank" rel="noopener noreferrer">HAFAS</a> 5.21.B-RAIL.4.7f/5.21.B-RAIL.4.7k - 14/09/08</em>&quot;).</p>
<p>Googling for Hafas returns some cool websites.</p>
<p>Using <a href="http://print2web.hafas.de/hst/db/tb/query-p2w.exe/en?L=vs_p2w&amp;whichTask=pf&amp;" target="_blank" rel="noopener noreferrer">this one</a>, you can download a <a href="https://static.yeri.be/2008/09/vilvoordeantwerpen_centraal.pdf" target="_blank" rel="noopener noreferrer">pdf</a> with all train (including hours) info between two stations. Not quite the same as an API-key, but at least you have something you can save and use lateron.</p>
<p><a href="http://print2web.hafas.de/hst/db/tb/query-p2w.exe/en?L=vs_p2w&amp;whichTask=str&amp;" target="_blank" rel="noopener noreferrer">This</a> seems to be giving <a href="https://static.yeri.be/2008/09/vilvoordeantwerpen_centraal-1.pdf" target="_blank" rel="noopener noreferrer">all stops a train will have</a> (or all trains) between two stations. Though the &ldquo;stoptrains&rdquo; aren&rsquo;t in the list, and the IR-train does stop at Mechelen-Nekkerspoel too, which isn&rsquo;t on the list either. <a href="https://static.yeri.be/2008/09/vilvoordeantwerpen_centraal-2.pdf" target="_blank" rel="noopener noreferrer">This PDF</a> seems more accurate, and seems to be including all trains.</p>
<p>But still, the <a href="https://web.archive.org/web/20081207023540/http://www.bahn.de:80/p/view/planen/reiseplanung/mobileservices/railnavigator.shtml" target="_blank" rel="noopener noreferrer">DB seem to be ahead</a> of us (well, what country isn&rsquo;t?). Here is <a href="https://web.archive.org/web/20110304221754/http://www.hacon.de:80/hafas_e/hafas2go.shtml" target="_blank" rel="noopener noreferrer">one of the functionalities</a> of HAFAS, which I haven&rsquo;t seen on the NMBS site yet. Correct me if I&rsquo;m wrong, but <a href="https://web.archive.org/web/20120509224253/http://www.b-rail.be/nat/N/timetables/pocket/index.php" target="_blank" rel="noopener noreferrer">this seems something different</a>. And&hellip; Windows-fucking-mobile-only.</p>
<p>Pretty much same problem with <a href="https://web.archive.org/web/20100426111346/http://www.thalys.com:80/be/nl/praktische-reisgids/voor/thalys-mobiel" target="_blank" rel="noopener noreferrer">Thalys</a>. They even made <a href="https://web.archive.org/web/20111210065004/http://thalys.mobi:80/" target="_blank" rel="noopener noreferrer">thalys.mobi</a>, yet, <a href="https://static.yeri.be/2008/09/photo.jpg" target="_blank" rel="noopener noreferrer">when accessing it with the iPhone</a> (as I lack other PDA-ish devices to test it at the moment) it doesn&rsquo;t scale/resize/fit my screen, and is displaying the same window I have when browsing it with Firefox.</p>
<p>Wouldn&rsquo;t it be cool if we had some open (xml?) API, where we could submit departure station, arrival station, and some time, and get a reply with one or multiple results?</p>
<p>I guess I would&rsquo;ve hoped for more in these &ldquo;mobile&rdquo; days.</p>
<p>Edit: <a href="https://yeri.be/nmbssncb-for-iphone/" target="_blank" rel="noopener noreferrer">my attempt</a> to make something.</p>
]]></content:encoded>
      <category>misc</category><category>irail</category><category>www</category>
      <category>api</category><category>hafas</category><category>iphone</category><category>mobile</category><category>nmbs</category>
    </item>
    
  </channel>
</rss>
