diff options
| -rwxr-xr-x | lib/Travelynx.pm | 2 | ||||
| -rw-r--r-- | templates/api_documentation.html.ep | 2 | 
2 files changed, 4 insertions, 0 deletions
| diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 846e865..f8ace80 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1902,6 +1902,7 @@ sub startup {  					uic           => $status->{dep_eva},  					longitude     => $status->{dep_lon},  					latitude      => $status->{dep_lat}, +					platform      => $status->{dep_platform},  					scheduledTime => $status->{sched_departure}  					? $status->{sched_departure}->epoch  					: undef, @@ -1915,6 +1916,7 @@ sub startup {  					uic           => $status->{arr_eva},  					longitude     => $status->{arr_lon},  					latitude      => $status->{arr_lat}, +					platform      => $status->{arr_platform},  					scheduledTime => $status->{sched_arrival}  					? $status->{sched_arrival}->epoch  					: undef, diff --git a/templates/api_documentation.html.ep b/templates/api_documentation.html.ep index d8fc66f..4453286 100644 --- a/templates/api_documentation.html.ep +++ b/templates/api_documentation.html.ep @@ -41,6 +41,7 @@  				"uic" : 8000098,<br/>  				"latitude" : 51.451355,<br/>  				"longitude" : 7.014793,<br/> +				"platform" : "12", (ggf. null)<br/>  				"scheduledTime": 1556083680,<br/>  				"realTime": 1556083680<br/>  			},<br/> @@ -50,6 +51,7 @@  				"uic" : 8001896,<br/>  				"latitude" : 51.422853,<br/>  				"longitude" : 7.023296,<br/> +				"platform" : "2", (ggf. null)<br/>  				"scheduledTime": 1556083980, (ggf. null)<br/>  				"realTime": 1556083980 (ggf. null)<br/>  			},<br/> | 
