[iRail] [new API] Long live alpha!

Pieter Colpaert pieter.colpaert at gmail.com
Wed Dec 7 16:52:15 UTC 2011


Hi Quentin & list,

I've just enabled the github issues thing. You can report issues there 
from now on :)

https://github.com/iRail/iRail/issues

Please report more than issues. If you have a dataset that we could add 
to our system, ideas for improvement and so on. Think out of the box!

Great work!

Pieter

On 12/07/2011 05:25 PM, Quentin Kaiser wrote:
> Hi Pieter,
>
> I followed your instructions and made a little commit on Vehicle. Do 
> you have a ticket system for this branch ? It could be easier for 
> "external dev".
>
> Quentin
>
> 2011/12/7 Pieter Colpaert <pieter.colpaert at gmail.com 
> <mailto:pieter.colpaert at gmail.com>>
>
>     Hi Alex,
>
>     Thanks for your nice words!
>
>     .about is a content negotiator (
>     http://en.wikipedia.org/wiki/Content_negotiation). This means it
>     will check the HTTP Accept header to decide on the format to
>     return the data in. Your browser will prefer html, therefore a
>     var_dump of the php object is returned. If you don't want to use
>     the HTTP Accept header (which most sane people won't ;) ) you can
>     just add the name of the format instead of .about, as Tim mentioned.
>
>     You can check the currently installed formatters over here:
>
>     http://data.irail.be/TDTInfo/Formatters.about
>
>     Kind regards,
>
>     Pieter
>
>
>     On 12/07/2011 09:15 AM, Alex van Herwijnen wrote:
>>     Good to hear that the iRail API is still being worked on. It's a
>>     tremendously valuable project for everyone wanting to do
>>     something with the data.
>>
>>     I just did a little test using my webbrowser and it seems that
>>     the data from the Liveboards get returned as serialized PHP
>>     objects. Is XML and/or JSON output planned?
>>
>>     - Alex
>>
>>     On Wed, Dec 7, 2011 at 9:08 AM, Pieter Colpaert
>>     <pieter.colpaert at gmail.com <mailto:pieter.colpaert at gmail.com>> wrote:
>>
>>         Hi Quentin,
>>
>>         http://github.com/iRail/iRail - change branch to thedatatank.
>>
>>         We still need to implement Vehicle and we need to make a
>>         better implementation of all other functions.
>>
>>         To install this you first need a The DataTank. Then you need
>>         to put everything in /custom/packages and it will be
>>         installed. (In the Config, when developing, select NoCache)
>>
>>         Is this something you can help with?
>>
>>         Pieter
>>
>>
>>
>>         On 12/07/2011 01:59 AM, Quentin Kaiser wrote:
>>>         Hi !
>>>
>>>         I can help on this one ;-) Could you send me some
>>>         informations about what needs to be done ?
>>
>>
>>>
>>>         Quentin
>>>
>>>         2011/12/6 Pieter Colpaert <pieter.colpaert at gmail.com
>>>         <mailto:pieter.colpaert at gmail.com>>
>>>
>>>             Hi everyone,
>>>
>>>             Our old API is getting old. We need a new one!
>>>
>>>             Jens Segers and I started to write a new API in a new
>>>             branch at http://github.com/iRail/iRail. You caan see
>>>             the result at http://data.iRail.be.
>>>
>>>             Is there anyone willing to help coding? Somene who knows
>>>             some PHP5? That would be great as exams are getting
>>>             closer and closer!
>>>
>>>             NEWS: We've had a meeting with INFRABEL. We will get
>>>             better access to static data very soon (GTFS). We will
>>>             probably have access to real-time data as well.
>>>             Therefore however Miet Claes and I will need to do some
>>>             work to convince the boss of the Railtime project. The
>>>             team itself was already really enthusiastic about the idea.
>>>
>>>             Not a PHP developer? Please give us feedback on
>>>             http://data.irail.be. Try it in your applications and
>>>             tell us what's wrong. The format of the output can
>>>             change over time, so don't ship this! It's an alpha
>>>             version :)
>>>
>>>             Kind regards,
>>>
>>>             Pieter
>>>
>>>             -- 
>>>             iRail vzw/asbl
>>>             +32(0)486/747122 <tel:%2B32%280%29486%2F747122>
>>>
>>>             _______________________________________________
>>>             iRail mailing list
>>>             iRail at list.irail.be <mailto:iRail at list.irail.be>
>>>             http://lists.rootspirit.com/mailman/listinfo/irail
>>>
>>>
>>>
>>>
>>>         -- 
>>>         Quentin Kaiser
>>>
>>>
>>>
>>>
>>>         _______________________________________________
>>>         iRail mailing list
>>>         iRail at list.irail.be  <mailto:iRail at list.irail.be>
>>>         http://lists.rootspirit.com/mailman/listinfo/irail
>>
>>
>>         -- 
>>         iRail vzw/asbl
>>         +32(0)486/747122  <tel:%2B32%280%29486%2F747122>
>>
>>
>>         _______________________________________________
>>         iRail mailing list
>>         iRail at list.irail.be <mailto:iRail at list.irail.be>
>>         http://lists.rootspirit.com/mailman/listinfo/irail
>>
>>
>>
>>
>>     _______________________________________________
>>     iRail mailing list
>>     iRail at list.irail.be  <mailto:iRail at list.irail.be>
>>     http://lists.rootspirit.com/mailman/listinfo/irail
>
>
>     -- 
>     iRail vzw/asbl
>     +32(0)486/747122  <tel:%2B32%280%29486%2F747122>
>
>
>     _______________________________________________
>     iRail mailing list
>     iRail at list.irail.be <mailto:iRail at list.irail.be>
>     http://lists.rootspirit.com/mailman/listinfo/irail
>
>
>
>
> -- 
> Quentin Kaiser
>
>
>
>
> _______________________________________________
> iRail mailing list
> iRail at list.irail.be
> http://lists.rootspirit.com/mailman/listinfo/irail


-- 
iRail vzw/asbl
+32(0)486/747122

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/irail/attachments/20111207/7515624f/attachment-0003.html>


More information about the iRail mailing list