Skip to content

Commit 5160a8f

Browse files
👩‍💻 dx(sncb-nmbs.fetch): Explicitly use v1 of the API.
1 parent 0a91e6f commit 5160a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.bin/sncb-nmbs.fetch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CONFIG = os.path.expanduser('~/.config/sncb-nmbs/config')
1616

1717
CONNECTIONS = CACHE + '/{}/{}/connections'
1818

19-
REQUEST = 'https://api.irail.be/connections/?'
19+
REQUEST = 'https://api.irail.be/v1/connections/?'
2020

2121
log = lambda *x, **y: print(*x, **y, file=sys.stderr)
2222

0 commit comments

Comments
 (0)