Skip to content

v0.2.0 — Fili-Second

Compare
Choose a tag to compare
@gillesdemey gillesdemey released this 21 Dec 20:13
· 28 commits to master since this release

Added a simple Levenshtein distance algorithm to look up stations by name, as well as ID's.

Examples:

/stations/gent-sint-pieters
/stations/gent%20sint%20pieters
/stations/455

Would all yield the same results.

Additionally, this also works for routes:

/routes?from=gent-sint-pieters&to=sint-niklaas

http://vignette2.wikia.nocookie.net/mlp/images/5/52/Fili-Second_ID_A2014.png/revision/latest?cb=20140924140426