Add more trip properties #359

Closed
opened 2020-04-20 09:58:11 +02:00 by swentel · 1 comment
swentel commented 2020-04-20 09:58:11 +02:00 (Migrated from github.com)

We only send the route at the moment, which is the most important of course.

See https://indieweb.org/trip

We only send the route at the moment, which is the most important of course. See https://indieweb.org/trip
swentel commented 2020-04-20 19:51:47 +02:00 (Migrated from github.com)

Added following properties:

  • start time (start)
  • end time (end)
  • mode of transport (transport)
  • cost (cost)
  • distance (distance)
  • duration (duration)

Route is optional now.

Example payload with all properties:

Array ( [start] => Array ( [0] => 2020-04-20T19:45:00+0200 ) [end] => Array ( [0] => 2020-04-20T19:45:00+0200 ) [cost] => Array ( [0] => cost ) [distance] => Array ( [0] => distance ) [duration] => Array ( [0] => duration ) [transport] => Array ( [0] => drive ) [route] => Array ( [0] => geo:51.01967529372401,3.771416442631398,120.28881550936394 [1] => geo:51.019719325065985,3.77119175369982,65.9162302347021) [name] => Array ( [0] => title ) [content] => Array ( [0] => Content ) [category] => Array ( [0] => tags ) [published] => Array ( [0] => 2020-04-21T19:46:00+0200 ) [post-status] => Array ( [0] => draft ) )

Will be available in the release of coming friday

Added following properties: - start time (start) - end time (end) - mode of transport (transport) - cost (cost) - distance (distance) - duration (duration) Route is optional now. Example payload with all properties: Array ( [start] => Array ( [0] => 2020-04-20T19:45:00+0200 ) [end] => Array ( [0] => 2020-04-20T19:45:00+0200 ) [cost] => Array ( [0] => cost ) [distance] => Array ( [0] => distance ) [duration] => Array ( [0] => duration ) [transport] => Array ( [0] => drive ) [route] => Array ( [0] => geo:51.01967529372401,3.771416442631398,120.28881550936394 [1] => geo:51.019719325065985,3.77119175369982,65.9162302347021) [name] => Array ( [0] => title ) [content] => Array ( [0] => Content ) [category] => Array ( [0] => tags ) [published] => Array ( [0] => 2020-04-21T19:46:00+0200 ) [post-status] => Array ( [0] => draft ) ) Will be available in the release of coming friday
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inhji/indiepass-android#359
No description provided.