mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
Sydney: Fix trip endpoint.
This commit is contained in:
parent
fe40fa2208
commit
5ff1d2bd35
1 changed files with 2 additions and 2 deletions
|
@ -36,10 +36,10 @@ import okhttp3.HttpUrl;
|
||||||
*/
|
*/
|
||||||
public class SydneyProvider extends AbstractEfaProvider {
|
public class SydneyProvider extends AbstractEfaProvider {
|
||||||
private static final HttpUrl API_BASE = HttpUrl.parse("https://transportnsw.info/web/");
|
private static final HttpUrl API_BASE = HttpUrl.parse("https://transportnsw.info/web/");
|
||||||
|
private static final String TRIP_ENDPOINT = "XML_TRIP_REQUEST2";
|
||||||
|
|
||||||
public SydneyProvider() {
|
public SydneyProvider() {
|
||||||
super(NetworkId.SYDNEY, API_BASE);
|
super(NetworkId.SYDNEY, API_BASE, null, TRIP_ENDPOINT, null, null);
|
||||||
|
|
||||||
setLanguage("en");
|
setLanguage("en");
|
||||||
setTimeZone("Australia/Sydney");
|
setTimeZone("Australia/Sydney");
|
||||||
setUseProxFootSearch(false);
|
setUseProxFootSearch(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue