@@ -348,6 +348,45 @@ const createRestClient = (profile, token, userAgent) => {
348348 return parseTrip ( profile , opt , { } ) ( res )
349349 }
350350
351+ // todo: fails with 404
352+ // const tripHistory = async (tripId) => {
353+ // const res = await request('rtarchive', opt, {
354+ // id: tripId,
355+ // date: profile.formatDate(profile, opt.when || Date.now())
356+ // })
357+ // return res
358+ // }
359+
360+ // todo: fails with 404
361+ // const radar = async (bbox) => {
362+ // const res = await request('journeyPos', opt, {
363+ // llLat: bbox.south,
364+ // llLon: bbox.west,
365+ // urLat: bbox.north,
366+ // urLon: bbox.east,
367+ // // todo: operators, products, attributes, lines, jid, infotexts
368+ // // todo: maxJny, time
369+ // date: profile.formatDate(profile, opt.when || Date.now())
370+ // })
371+ // return res
372+ // }
373+
374+ // todo: fails with 404
375+ // const remarks = async () => {
376+ // const res = await request('himSearch', opt, {
377+ // // todo: dateB, dateE, timeB, timeE, himIds, operators, categories
378+ // // todo: channels, companies, metas, himcategory, poly, searchmode
379+ // // todo: minprio, maxprio
380+ // })
381+ // return res
382+ // }
383+
384+ // todo: fails with 404
385+ // const dataInfo = async () => {
386+ // const res = await request('datainfo', opt)
387+ // return res
388+ // }
389+
351390 return {
352391 locations, nearby,
353392 departures, arrivals,
0 commit comments