Skip to content

Commit 6439324

Browse files
committed
Clarify preference for Trafiklab Realtime APIs compared to Resrobot Stolptidtabeller
1 parent e472b00 commit 6439324

File tree

6 files changed

+35
-28
lines changed

6 files changed

+35
-28
lines changed

content/api/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ and datasets.
2929
| [NeTEx Sweden](/api/netex-datasets/netex-sweden/) | NeTEx ||| Highly detailed public transport datasets of Sweden, as one static dataset and multiple realtime datasets |
3030
| [Stops data](/api/netex-datasets/stops-data/) | NeTEx ||| All stops of Sweden with mappings to regional IDs |
3131
| [KoDa](/api/our-apis/koda/) | GTFS(-RT) || Some, [see GTFS Regional details](/api/gtfs-datasets/gtfs-regional/#operators-covered-by-this-dataset) | High quality historical data |
32-
| [ResRobot Stolptidstabeller](/api/our-apis/resrobot-v21/timetables.md) | Json, XML || Some, [see details](/api/our-apis/resrobot-v21/timetables.md) | Departure & Arrival board API |
32+
| [Trafiklab Realtime APIs](/api/our-apis/trafiklab-realtime-apis/_index.md) | Json ||| Departure & Arrival board API, Trip details API, Stop lookup API |
33+
| [ResRobot Stolptidstabeller](/api/our-apis/resrobot-v21/timetables.md) | Json, XML ||| Departure & Arrival board API |
3334
| [ResRobot Reseplanerare](/api/our-apis/resrobot-v21/route-planner.md) | Json, XML ||| Travel planner API |
3435
| [SLs APIs ](/api/our-apis/sl/) | Json, XML ||| API collection |
3536
| [Oxyfi Vehicle Positions](/api/our-apis/oxyfi.md) | Websocket ||| Realtime train position API |

content/api/_index.sv.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,21 @@ out [The right data type for your project](../docs/using-trafiklab-data/the-righ
2828
choose the right data source. [Using our data](../docs/using-trafiklab-data/) will help you to get started with our APIs
2929
and datasets.
3030

31-
| API | File format | Scheduled data | Real-time data | What is it |
32-
|:-----------------------------------------------------------------------------|:------------:|:--------------:|:------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------|
33-
| [GTFS Sverige 2](/api/gtfs-datasets/gtfs-sverige-2/) | GTFS ||| Dataset with all public transport, static and historical |
34-
| [GTFS Regional](/api/gtfs-datasets/gtfs-regional/) | GTFS(-RT) || Some, [see details](/api/gtfs-datasets/gtfs-regional/#operators-covered-by-this-dataset) | Public transport datasets |
35-
| [NeTEx/SIRI Regional](/api/netex-datasets/netex-regional/) | NeTEx & SIRI || Some, [see details](/api/netex-datasets/netex-regional/#operators-covered-by-this-dataset) | Highly detailed public transport datasets |
36-
| [GTFS Sweden 3](/api/gtfs-datasets/gtfs-sweden/) | GTFS || Some, [see details](/api/gtfs-datasets/gtfs-sweden/#operators-covered-by-this-dataset) | Public transport dataset of Sweden, as one static dataset and multiple realtime datasets |
37-
| [NeTEx Sweden](/api/netex-datasets/netex-sweden/) | NeTEx ||| Highly detailed public transport datasets of Sweden, as one static dataset and multiple realtime datasets |
38-
| [Stops data](/api/netex-datasets/stops-data/) | NeTEx ||| All stops of Sweden with mappings to regional IDs |
39-
| [KoDa](/api/our-apis/koda/) | GTFS(-RT) || Some, [see GTFS Regional details](/api/gtfs-datasets/gtfs-regional/#operators-covered-by-this-dataset) | High quality historical data |
40-
| [ResRobot Stolptidstabeller](/api/our-apis/resrobot-v21/timetables.md) | Json, XML || Some, [see details](/api/our-apis/resrobot-v21/timetables.md) | Departure & Arrival board API |
41-
| [ResRobot Reseplanerare](/api/our-apis/resrobot-v21/route-planner.md) | Json, XML ||| Travel planner API |
42-
| [SLs APIs ](/api/our-apis/sl/) | Json, XML ||| API collection |
43-
| [Oxyfi Vehicle Positions](/api/our-apis/oxyfi.md) | Websocket ||| Realtime train position API |
44-
| [Trafikverkets API](/api/our-apis/trafikverket.md) | Json, XML ||| Road and rail API |
31+
| API | File format | Scheduled data | Real-time data | What is it |
32+
|:---------------------------------------------------------------------------|:------------:|:--------------:|:------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------|
33+
| [GTFS Sverige 2](/api/gtfs-datasets/gtfs-sverige-2/) | GTFS ||| Dataset with all public transport, static and historical |
34+
| [GTFS Regional](/api/gtfs-datasets/gtfs-regional/) | GTFS(-RT) || Some, [see details](/api/gtfs-datasets/gtfs-regional/#operators-covered-by-this-dataset) | Public transport datasets |
35+
| [NeTEx/SIRI Regional](/api/netex-datasets/netex-regional/) | NeTEx & SIRI || Some, [see details](/api/netex-datasets/netex-regional/#operators-covered-by-this-dataset) | Highly detailed public transport datasets |
36+
| [GTFS Sweden 3](/api/gtfs-datasets/gtfs-sweden/) | GTFS || Some, [see details](/api/gtfs-datasets/gtfs-sweden/#operators-covered-by-this-dataset) | Public transport dataset of Sweden, as one static dataset and multiple realtime datasets |
37+
| [NeTEx Sweden](/api/netex-datasets/netex-sweden/) | NeTEx ||| Highly detailed public transport datasets of Sweden, as one static dataset and multiple realtime datasets |
38+
| [Stops data](/api/netex-datasets/stops-data/) | NeTEx ||| All stops of Sweden with mappings to regional IDs |
39+
| [KoDa](/api/our-apis/koda/) | GTFS(-RT) || Some, [see GTFS Regional details](/api/gtfs-datasets/gtfs-regional/#operators-covered-by-this-dataset) | High quality historical data |
40+
| [Trafiklab Realtime APIs](/api/our-apis/trafiklab-realtime-apis/_index.md) | Json ||| Departure & Arrival board API, Trip details API, Stop lookup API |
41+
| [ResRobot Stolptidstabeller](/api/our-apis/resrobot-v21/timetables.md) | Json, XML ||| Departure & Arrival board API |
42+
| [ResRobot Reseplanerare](/api/our-apis/resrobot-v21/route-planner.md) | Json, XML ||| Travel planner API |
43+
| [SLs APIs ](/api/our-apis/sl/) | Json, XML ||| API collection |
44+
| [Oxyfi Vehicle Positions](/api/our-apis/oxyfi.md) | Websocket ||| Realtime train position API |
45+
| [Trafikverkets API](/api/our-apis/trafikverket.md) | Json, XML ||| Road and rail API |
4546

4647

4748
## Other APIs

content/api/our-apis/resrobot-v21/_index.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,18 @@ is quick and easy to use, and can be used directly without having to process it
3232
example smartphone applications where travellers need an answer on their queries, but a poor choice for analytics where
3333
a lot of data from a lot of vehicles is needed.
3434

35-
| Well suited for | Not so suited for |
36-
| :--- | :--- |
37-
| Quickly getting the next departures from a stop | Analysing public transport information |
35+
{{% info %}}
36+
Want to build departure or arrival boards for digital signage, smart mirrors, home automation, ... etc? Take a look at
37+
our [Trafiklab realtime APIs](/api/our-apis/trafiklab-realtime-apis/_index.md) which contain more details and realtime data,
38+
while being easier to use.
39+
{{% /info %}}
40+
41+
| Well suited for | Not so suited for |
42+
|:----------------------------------------|:-------------------------------------------------|
43+
| Websites and widgets | Analysing public transport information |
3844
| Quickly calculating a route from A to B | Applications requiring huge amounts of API calls |
39-
| Digital Signage | Data visualisation |
40-
| Mobile applications | Building your own route-planner algorithm |
41-
| Websites and widgets | |
45+
| Mobile applications | Data visualisation |
46+
| | Building your own route-planner algorithm |
4247

4348
### API key levels
4449
There is only one API key required to access all features in ResRobot, the different key levels are specified in the table below. If you don´t have a key yet,
@@ -49,8 +54,10 @@ read [here](/docs/using-trafiklab/getting-api-keys) on how to get one.
4954
| Bronze | 45 | 30 000 |
5055
| Silver | 60 | 200 000 |
5156
| Gold | 200 | 1 000 000 |
52-
| Platinum | 200 | 2 000 000 |
5357

58+
{{% warning %}} Upgrade requests for Resrobot API keys using the departure boards will not be approved when our
59+
[Trafiklab realtime APIs](/api/our-apis/trafiklab-realtime-apis/_index.md) are a better fit. Please check if the
60+
realtime APIs are better for your use case before starting development. You can always ask us at [our support forum](https://support.trafiklab.se).{{% /warning %}}
5461

5562
{{% warning %}} If you want to do analytics, or if your service will have more than a million active users,
5663
we recommend using GTFS and hosting your own API based on that data. One GTFS file can transfer more information than a

content/api/our-apis/resrobot-v21/timetables.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: ResRobot Timetables
3-
weight: 10
3+
weight: 80
44
date: 2022-02-07
5+
badge: Deprecated
56
aliases:
67
- /api/resrobot-stolptidtabeller-2/documentation
78
- /node/14075/documentation

themes/trafiklab-2024/assets/sass/_sidebar_left_nav.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ nav.tl-side-navigation {
134134
}
135135

136136
.tl-side-navigation__badge {
137-
display: inline-block;
137+
display: inline;
138138
margin: 0 4px;
139139
padding: 0;
140140
&::before {

themes/trafiklab-2024/layouts/partials/sidebar/sidebar-page-row.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,5 @@
1818
{{ end }}
1919
</span>
2020
{{ end }}
21-
<span class="tl-side-navigation__title">{{ $targetPage.Title }}</span>
22-
{{ if $targetPage.Params.badge }}
23-
<span class="tl-side-navigation__badge">{{$targetPage.Params.badge}}</span>
24-
{{end}}
21+
<span class="tl-side-navigation__title">{{ $targetPage.Title }}{{ if $targetPage.Params.badge }} <span class="tl-side-navigation__badge">{{$targetPage.Params.badge}}</span>{{end}}</span>
2522
</a>

0 commit comments

Comments
 (0)