BVG: update API base

This commit is contained in:
Andreas Schildbach 2021-11-06 23:06:18 +01:00
parent c4874f8bed
commit 2130b5ecb6

View file

@ -41,7 +41,7 @@ import okhttp3.HttpUrl;
* @author Andreas Schildbach
*/
public final class BvgProvider extends AbstractHafasClientInterfaceProvider {
private static final HttpUrl API_BASE = HttpUrl.parse("https://bvg.hafas.cloud/bin/");
private static final HttpUrl API_BASE = HttpUrl.parse("https://bvg-apps-ext.hafas.de/bin/mgate.exe");
private static final Product[] PRODUCTS_MAP = { Product.SUBURBAN_TRAIN, Product.SUBWAY, Product.TRAM, Product.BUS,
Product.FERRY, Product.HIGH_SPEED_TRAIN, Product.REGIONAL_TRAIN, Product.ON_DEMAND, null, null };
private static final String DEFAULT_API_CLIENT = "{\"id\":\"BVG\",\"type\":\"AND\"}";