mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
tools: add transport-apis submodule & pull-profile-base-data.sh
This commit is contained in:
parent
ba27f54952
commit
3df3a7b73d
3 changed files with 29 additions and 0 deletions
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[submodule "tools/transport-apis"]
|
||||||
|
path = tools/transport-apis
|
||||||
|
url = https://github.com/public-transport/transport-apis.git
|
||||||
|
branch = v1
|
24
tools/pull-profile-base-data.sh
Executable file
24
tools/pull-profile-base-data.sh
Executable file
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
cd $(realpath $(dirname $0))
|
||||||
|
|
||||||
|
src="transport-apis/data"
|
||||||
|
|
||||||
|
query="{\
|
||||||
|
auth: {
|
||||||
|
type: \"AID\",
|
||||||
|
aid: .options.auth.aid?, \
|
||||||
|
}, \
|
||||||
|
salt: .options.checksumSalt, \
|
||||||
|
client: {
|
||||||
|
type: .options.client.type?, \
|
||||||
|
id: .options.client.id?, \
|
||||||
|
v: .options.client.v?, \
|
||||||
|
name: .options.client.name?, \
|
||||||
|
}, \
|
||||||
|
endpoint: .options.endpoint, \
|
||||||
|
ext: .options.ext, \
|
||||||
|
ver: .options.version, \
|
||||||
|
}"
|
||||||
|
|
1
tools/transport-apis
Submodule
1
tools/transport-apis
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d15fa68b3b4703ee172d706ea39b148e9dd8bd47
|
Loading…
Add table
Reference in a new issue