Not able to understand the output of the TRIP api

hello everyone ,
when i access https://api.transport.nsw.gov.au/v1/tp/trip API i got many objects one of them is here listed as below.

{
“duration”: 240,
“distance”: 234,
“origin”: {
“id”: “streetID:53728:15:95343010:1:Blue St:North Sydney:Blue St::::ANY:DIVA_ADDRESS:4889405:3752493:GDAV::0”,
“name”: “15 Blue St, North Sydney”,
“type”: “street”,
“coord”: [-33.84096,
151.20745
],
“parent”: {
“id”: “95343010|-1”,
“type”: “locality”
},
“departureTimePlanned”: “2017-03-23T01:03:00Z”,
“departureTimeEstimated”: “2017-03-23T01:03:00Z”,
“properties”: {
“downloads”: [{
“type”: “RM”,
“href”: “FILELOAD?Filename=6372_1231332dep_6372_4668_94916781_000016a2.pdf”
}]
}
},
“destination”: {
“isGlobalId”: true,
“id”: “206067”,
“name”: “Pacific Hwy at Walker St, North Sydney”,
“type”: “platform”,
“pointType”: “Bstg”,
“coord”: [-33.84018,
151.20828
],
“parent”: {
“id”: “10113128”,
“name”: “Pacific Hwy at Walker St, North Sydney”,
“disassembledName”: “Pacific Hwy at Walker St”,
“type”: “stop”,
“parent”: {
“id”: “95343010|1”,
“name”: “North Sydney”,
“type”: “locality”
}
},
“arrivalTimePlanned”: “2017-03-23T01:07:00Z”,
“arrivalTimeEstimated”: “2017-03-23T01:07:00Z”,
“properties”: {
“downloads”: [{
“type”: “RM”,
“href”: “FILELOAD?Filename=6372_1231333dep_6372_4668_94916781_000016a2.pdf”
}],
“WheelchairAccess”: “true”
}
},
“transportation”: {
“product”: {
“class”: 100,
“name”: “Fussweg”,
“iconId”: 100
}
},
“stopSequence”: [{
“isGlobalId”: true,
“id”: “206067”,
“name”: “Pacific Hwy at Walker St, North Sydney”,
“type”: “platform”,
“coord”: [-33.84018,
151.20828
],
“parent”: {
“id”: “10113128”,
“name”: “Pacific Hwy at Walker St, North Sydney”,
“disassembledName”: “Pacific Hwy at Walker St”,
“type”: “stop”,
“parent”: {
“id”: “95343010|1”,
“name”: “North Sydney”,
“type”: “locality”
}
},
“properties”: {
“WheelchairAccess”: “true”,
“AREA_NIVEAU_DIVA”: “0”,
“AREA_NIVEAU_GIS”: “0”
}
}],
“infos”: ,
“coords”: [
[-33.84096,
151.20745
],
[-33.84105,
151.20806
],
[-33.84105,
151.2082
],
[-33.84105,
151.2083
],
[-33.84101,
151.20841
],
[-33.84099,
151.20854
],
[-33.841,
151.20865
],
[-33.841,
151.20879
],
[-33.84068,
151.20845
],
[-33.84051,
151.20849
],
[-33.84045,
151.20844
],
[-33.84021,
151.20823
]
],
“pathDescriptions”: [{
“turnDirection”: “STRAIGHT”,
“manoeuvre”: “KEEP”,
“name”: “Blue St”,
“coord”: [-33.84096,
151.20745
],
“skyDirection”: 99,
“duration”: 113,
“cumDuration”: 113,
“distance”: 125,
“cumDistance”: 125,
“fromCoordsIndex”: 0,
“toCoordsIndex”: 1
},
{
“turnDirection”: “SHARP_LEFT”,
“manoeuvre”: “TURN”,
“name”: “Pacific Hwy”,
“coord”: [-33.841,
151.20879
],
“skyDirection”: 40,
“duration”: 44,
“cumDuration”: 157,
“distance”: 50,
“cumDistance”: 175,
“fromCoordsIndex”: 1,
“toCoordsIndex”: 7
},
{
“turnDirection”: “SLIGHT_RIGHT”,
“manoeuvre”: “TURN”,
“name”: “Blue St”,
“coord”: [-33.84068,
151.20845
],
“skyDirection”: 333,
“duration”: 17,
“cumDuration”: 174,
“distance”: 20,
“cumDistance”: 195,
“fromCoordsIndex”: 7,
“toCoordsIndex”: 8
},
{
“turnDirection”: “SLIGHT_LEFT”,
“manoeuvre”: “TURN”,
“name”: “Pacific Hwy”,
“coord”: [-33.84051,
151.20849
],
“skyDirection”: 330,
“duration”: 36,
“cumDuration”: 210,
“distance”: 40,
“cumDistance”: 235,
“fromCoordsIndex”: 8,
“toCoordsIndex”: 11
}
]
}

I have just searched the possible trip between North Sydney Station, North Sydney to Bondi Beach Public School, Bondi Beach. I can understand some of the parameters but not all. I really not able to get this full object data. is there any document which explain out put the API ?

right now i am following Home | transportnsw.info this web app. i also need to develop same kind of app.

please help. :slight_smile:

Hi @dhamu143, we’ll be releasing documentation on this very shortly that should help you out. I’ll let you know once we’ve published it.

Thanks,
Alex

ok I am waiting for it, till than can you please tell me how can I come to know that
particular stop is bus stop , railway station of ferry stop?
In GTFS data there is stop type from 1 2 3 4 but in trip planner API response i am not able to get it.
please help me.

Hi @dhamu143, we just published the technical documentation. You can find it here: https://opendata.transport.nsw.gov.au/sites/default/files/TfNSW_TripPlannerAPI_technical_doc.pdf

Please have a good read of it, hopefully it answers your questions.

Thanks,
Alex

do i need to convert date for sydeny tinmezone ?
response having something like this format “2017-04-17T02:59:00Z”