However, downloading sydneytrains now appears to truncate the ZIP:
caution: zipfile comment truncated
error [test.zip]: missing 3237458933 bytes in zipfile
(attempting to process anyway)
error [test.zip]: attempt to seek before beginning of zipfile
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
Just had a look at yours and see that you are trying to call the buses one. That one has the other issue as the realtime compatible schedule data isn’t available as a bundle and we’re working to get the individual contract area schedules made available via the API Gateway…
hey guys, just wanted to make sure you all know this problem is resolved. Well kinda. The documentation says port 8443 but it’s actually plain old SSL which is port 443. Unfortunately we can’t change the documentation easily but if you can use port 443 you should be fine.
Hey guys,
I’m also trying to download the Sydney Rail file, and I get “401 Unauthorized”. this is what I’m trying to run:
_curl -v -O test.zip -H “Authorization: apikey l7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” https://api.transport.nsw.gov.au/v1/gtfs/schedule/sydneytrains_
and my api key is correct.
Do you know what’s goin on?
I’m trying to download the buses GTFS file, and I get: “Connection #0 to host api.transport.nsw.gov.au left intact”
this is what I’m trying to run:
curl -v -o buses.zip -H “Authorization: apikey lxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” https://api.transport.nsw.gov.au/v1/gtfs/schedule/buses
I also have all the relevant API’s in the Applications section.
@morpeer we have managed to replicate the problem with your credentials and will raise a ticket. Assume you have been previously successfully using the APIs?