Filter of response data


#1

how can i filter vehicle position if i need some specific vehicle position?

is there any example ?


#2

I don’t think it’s a feature of the API at this point in time. Probably something to suggest here on this thread: http://forum.tfnsw.com.au/forum/t/what-data-do-you-want/30

Currently, you’d have to loop through each of the vehicles to see if it matches the ID. Alternatively, store it all in a database and query it that way.


#3

Yes at this stage we only offer it as a bundle. There is talk about how we implement it as a “proper” API so feedback on what you want is always welcome. Put it in the thread as referenced or start a new one in the category.

Thanks!


#4

“Yes at this stage we only offer it as a bundle” ==> this issue is solved ?


#5

Sorry dhamu143 I’m not sure what you are asking? The data is supplied as a set of ‘raw’ files which need to be processed on your side.


#6

i was just talking about that up till now what ever response i am getting is as a bundle. so if need some specific records then how can i filter that.?