@@ -11,24 +11,24 @@ article.article.dark.endpoint
11
11
.path : a( href ="http://apis.is/bus/realtime" , target ="_blank" ) /bus/realtime
12
12
13
13
.content
14
- p Real-time location of busses . Results are only shown for active busses .
14
+ p Real-time location of buses . Results are only shown for active buses .
15
15
16
16
h5.leading.collapse-next.open Parameters
17
17
dl
18
- dt busses
19
- dd Comma seperated list of numbers. <b >Good to know:</b > If not declared, the endpoint will return location of all available busses .
18
+ dt buses
19
+ dd Comma seperated list of numbers. <b >Good to know:</b > If not declared, the endpoint will return location of all available buses .
20
20
21
21
h5.leading.collapse-next curl demo
22
22
pre.prettyprint.curl-demo .
23
- curl -X GET 'apis.is/bus/realtime?busses =1,5' -H 'accept-version:1' -H 'Content-Type: application/json'
23
+ curl -X GET 'apis.is/bus/realtime?buses =1,5' -H 'accept-version:1' -H 'Content-Type: application/json'
24
24
25
25
h5.leading.collapse-next jQuery demo
26
26
pre.prettyprint.linenums.jquery-demo .
27
27
$.ajax({
28
28
'url': 'http://apis.is/bus/realtime',
29
29
'type': 'GET',
30
30
'dataType': 'json',
31
- 'data': {'busses ': '1,5'},
31
+ 'data': {'buses ': '1,5'},
32
32
'success': function(response) {
33
33
console.log(response);
34
34
}
@@ -40,7 +40,7 @@ article.article.dark.endpoint
40
40
"results": [
41
41
{
42
42
"busNr": "1",
43
- "busses ": [
43
+ "buses ": [
44
44
{
45
45
"unixTime": 1354618575,
46
46
"x": 64.090668,
@@ -59,7 +59,7 @@ article.article.dark.endpoint
59
59
},
60
60
{
61
61
"busNr": "5",
62
- "busses ": [
62
+ "buses ": [
63
63
{
64
64
"unixTime": 1354618563,
65
65
"x": 64.135644,
0 commit comments