Closed alinelena closed 10 years ago
Thanks,
You need to ask the National Transport Authority or someone at dublinked for access but they seem pretty happy to give access to people for making apps. The only reason it isn't completely public as far as I know is so they can track who is using the data and the load they are putting on the system.
In regards to the app not returning any data if you just compiled and tried to run it, in SailBusDublin / qml / dublin-bus-api.js line 15: apiBase = "";
should have the address of the server I'm using on digital ocean to proxy the request and hide my authentication details but I don't include that in the source code for security(admittedly by obscurity) reasons.
An example of said server is available here: https://github.com/ShaneQful/SailBusDublin/blob/master/sinatra-bus.rb
Again without my authentication details (not security by obscurity you have to gain user access on my server for them :P )
If your making your own app or want to contribute I'd recommend you get in contact with the National Transport Authority. I can send you some names/emails if you'd like. That said if your only interested in contributing to this app, I can send you a link to the API I created with my sinatra-bus.rb.
Regards, Shane
Thanks Shane!
I am not a big fan of duplication of effort. I will change the TextArea in enter number to SearchField. Do you want me to create a pull request for that?
Alin
Without Questions there are no Answers!
Dr. Alin Marin ELENA http://alin.elenaworld.net/
On 1 August 2014 19:26, Shane Quigley notifications@github.com wrote:
Thanks,
You need to ask the National Transport Authority or someone at dublinked for access but they seem pretty happy to give access to people for making apps. The only reason it isn't completely public as far as I know is so they can track who is using the data and the load they are putting on the system.
In regards to the app not returning any data if you just compiled and tried to run it, in SailBusDublin / qml / dublin-bus-api.js line 15: apiBase = ""; should have the address of the server I'm using on digital ocean to proxy the request and hide my authentication details but I don't include that in the source code for security(admittedly by obscurity) reasons.
An example of said server is available here: https://github.com/ShaneQful/SailBusDublin/blob/master/sinatra-bus.rb
Again without my authentication details (not security by obscurity you have to gain user access on my server for them :P )
If your making your own app or want to contribute I'd recommend you get in contact with the National Transport Authority. I can send you some names/emails if you'd like. That said if your only interested in contributing to this app, I can send you a link to the API I created with my sinatra-bus.rb.
— Reply to this email directly or view it on GitHub https://github.com/ShaneQful/SailBusDublin/issues/10#issuecomment-50918299 .
Sure go ahead and create a pull request, I'll email you on the server location so you can properly test your code. Please don't check it into to version control.
Hi Shane,
Great app... I was just in the process of writing one when I discovered you did it before. Unfortunately, it seems it does not work for all the public. My Impression is that the rtpi data is available only to a select few. can you correct me? http://dublinked.com/datastore/datasets/dataset-300.php
regards, Alin