Closed derhuerst closed 1 year ago
{ // https://gist.github.com/PDesire/3dab828612a20e80d539af2b5387b9cc#arriva-uk auth: {type: 'AID', aid: 'a4r2b3i8x2n9f6l0'}, client: {type: 'AND', id: 'ARRIVA', name: 'ARRIVA'}, endpoint: 'http://arriva-uk.hafas.de/bin/mgate.exe', defaultLanguage: 'en', locale: 'de-DE', timezone: 'Europe/London', ver: '1.18', }
With the config above, the endpoint returns a PARSE error.
PARSE
./tools/debug-cli/cli.js arriva-uk locations 'london' # {"lang":"en","svcReqL":[{"cfg":{"polyEnc":"GPA"},"meth":"LocMatch","req":{"input":{"loc":{"type":"ALL","name":"london?"},"maxLoc":5,"field":"S"}}}],"client":{"type":"AND","id":"ARRIVA","name":"ARRIVA"},"ver":"1.18","auth":{"type":"AID","aid":"a4r2b3i8x2n9f6l0"}} # {"ver":"","lang":"eng","err":"PARSE","svcResL":[]}
I think this endpoint has been shut off.
With the config above, the endpoint returns a
PARSE
error.