Skip to content

Commit f0abff8

Browse files
applecuckooemmambd
andauthored
fix: updates for Auckland and Wellington (#1118)
* fix: update endpoints for Auckland Transport RT feeds and mark as official * fix: deprecate East by West Ferry feed in favour of Metlink feed * fix: mark Metlink feed as official Co-authored-by: Emma Blue <90632321+emmambd@users.noreply.github.com>
1 parent 89b09b3 commit f0abff8

5 files changed

Lines changed: 15 additions & 5 deletions

catalogs/sources/gtfs/realtime/nz-waikato-auckland-transport-developer-gtfs-rt-sa-1374.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
],
77
"provider": "SeaLink Pine Harbour, Waikato Regional Council, Pavlovich Transport Solutions, AT Metro",
88
"name": "Auckland Transport Developer",
9+
"is_official": "True",
910
"static_reference": [
1011
"1029"
1112
],
1213
"urls": {
13-
"direct_download": "https://api.at.govt.nz/v2/public/realtime/servicealerts",
14+
"direct_download": "https://api.at.govt.nz/realtime/legacy/servicealerts",
1415
"authentication_type": 2,
1516
"authentication_info": "https://dev-portal.at.govt.nz/",
1617
"api_key_parameter_name": "Ocp-Apim-Subscription-Key",

catalogs/sources/gtfs/realtime/nz-waikato-auckland-transport-developer-gtfs-rt-tu-1373.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
],
77
"provider": "SeaLink Pine Harbour, Waikato Regional Council, Pavlovich Transport Solutions, AT Metro",
88
"name": "Auckland Transport Developer",
9+
"is_official": "True",
910
"static_reference": [
1011
"1029"
1112
],
1213
"urls": {
13-
"direct_download": "https://api.at.govt.nz/v2/public/realtime/tripupdates",
14+
"direct_download": "https://api.at.govt.nz/realtime/legacy/tripupdates",
1415
"authentication_type": 2,
1516
"authentication_info": "https://dev-portal.at.govt.nz/",
1617
"api_key_parameter_name": "Ocp-Apim-Subscription-Key",

catalogs/sources/gtfs/realtime/nz-waikato-auckland-transport-developer-gtfs-rt-vp-1375.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
],
77
"provider": "SeaLink Pine Harbour, Waikato Regional Council, Pavlovich Transport Solutions, AT Metro",
88
"name": "Auckland Transport Developer",
9+
"is_official": "True",
910
"static_reference": [
1011
"1029"
1112
],
1213
"urls": {
13-
"direct_download": "https://api.at.govt.nz/v2/public/realtime/vehiclelocations",
14+
"direct_download": "https://api.at.govt.nz/realtime/legacy/vehiclelocations",
1415
"authentication_type": 2,
1516
"authentication_info": "https://dev-portal.at.govt.nz/",
1617
"api_key_parameter_name": "Ocp-Apim-Subscription-Key",

catalogs/sources/gtfs/schedule/nz-wellington-east-by-west-ferry-gtfs-2305.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"provider": "East by West Ferry",
55
"is_official": "True",
66
"feed_contact_email": "support+eastbywest-nz@trilliumtransit.com",
7+
"status": "deprecated",
78
"location": {
89
"country_code": "NZ",
910
"subdivision_name": "Wellington",
@@ -20,5 +21,10 @@
2021
"authentication_type": 0,
2122
"latest": "https://storage.googleapis.com/storage/v1/b/mdb-latest/o/nz-wellington-east-by-west-ferry-gtfs-2305.zip?alt=media"
2223
},
23-
"redirect": []
24-
}
24+
"redirect": [
25+
{
26+
"id": "1132",
27+
"comment": "now part of Metlink feed"
28+
}
29+
]
30+
}

catalogs/sources/gtfs/schedule/nz-wellington-metlink-gtfs-1132.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"mdb_source_id": 1132,
33
"data_type": "gtfs",
44
"provider": "Metlink",
5+
"is_official": "True",
56
"location": {
67
"country_code": "NZ",
78
"subdivision_name": "Wellington",

0 commit comments

Comments
 (0)