Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/public-transport/hafas-rest-api

Expose a HAFAS client via an HTTP REST API.
https://github.com/public-transport/hafas-rest-api

send Access-Control-Max-Age with 1 day period βœ…

fixes #16

0bf7da364508d8c51b46c2b2bb145d065bbb5a4c authored over 1 year ago by Jannis R <[email protected]>
5.1.3

2550e4e63f9223f3a2087c8a5a8687f89cf942e4 authored over 1 year ago by Jannis R <[email protected]>
cfg.hostname: default to os.hostname()

e89bc5a9128fe8c5927215fd1fce8f1c8f0296a7 authored over 1 year ago by Jannis R <[email protected]>
upgrade dev dependencies: axios@1, get-port@7, pino-pretty@10 βœ…

4f856452c6e79474a606450c6096629053d06265 authored over 1 year ago by Jannis R <[email protected]>
fix example code in readme

24714bfd1dc023c5f39223b2977e487415de995b authored almost 2 years ago by fzakfeld <[email protected]>
/trips: don't fail without query πŸ›βœ…; 5.1.2

follow-up of ee38f7c
related: https://github.com/public-transport/transport.rest/issues/17

d993cc44c84971cda21ade2b021f6ef8884f63db authored almost 2 years ago by Jannis R <[email protected]>
parseQuery(): use params.*.default as defaults

related: https://github.com/public-transport/transport.rest/issues/17

12acd32ea09c236aba1dadcd418cb9daa6f4c695 authored almost 2 years ago by Jannis R <[email protected]>
5.1.1

aefa29f764118018786028fcee7045239bcc6db8 authored almost 2 years ago by Jannis R <[email protected]>
/trips: default to query=*

related: https://github.com/public-transport/transport.rest/issues/17

ee38f7c78f2e6472d61d340d26a6d08eabf68b0a authored almost 2 years ago by Jannis R <[email protected]>
handle-errors: always send err.message πŸ›

related: https://github.com/public-transport/transport.rest/issues/17

d7d5f17a3dbe5ded7c53f71e0ffcb672393e74dc authored almost 2 years ago by Jannis R <[email protected]>
/trips: add "query" query parameter to docs & OpenAPI spec πŸ“

related: https://github.com/public-transport/transport.rest/issues/17

0d0a708146531f7bb900d885a47b981d61d81935 authored almost 2 years ago by Jannis R <[email protected]>
add /trips route; 5.1.0

e695c42e7d20ba812fc1c159b3b90d92f9c11e40 authored about 2 years ago by Jannis R <[email protected]>
adapt OpenAPI response schemas to hafas-client@6 πŸ›; 5.0.1

dbde7f79a2d901aafd4c71271c1d38471a70d145 authored about 2 years ago by Jannis R <[email protected]>
fix OpenAPI response schemas πŸ›

00fa14ebb272bc03d62dd785c44987b5aab2bfd7 authored about 2 years ago by Jannis R <[email protected]>
markdown-it@13 πŸ’₯; 5.0.0

83cc3823ee615cdde52cc5d658034b00aeacfe95 authored about 2 years ago by Jannis R <[email protected]>
attach / & /docs route handlers after attachMiddleware() πŸ’₯

2ee8d80653658e6dbba7cdcdce2dd5562c729ea6 authored about 2 years ago by Jannis R <[email protected]>
update dependencies: github-slugger@2, luxon@3, pino@8, stringify-entities@4

59a36a820c0be47482bbc32067a63042f69aed71 authored about 2 years ago by Jannis R <[email protected]>
upgrade dev dependencies: [email protected], get-port@6, ioredis@5, pino-pretty@9

d0bae31515079b4a21412abeb627980eb3cb1c0e authored about 2 years ago by Jannis R <[email protected]>
hafas-client@6 πŸ’₯πŸ“

1ff5a76d19299647b214bd68aa964d8034334650 authored about 2 years ago by Jannis R <[email protected]>
convert to ESM πŸ’₯

364c25baa72c4e1055bb6b6d729dadfb47a5d920 authored about 2 years ago by Jannis R <[email protected]>
CI: run with Node 18 πŸ’š; 4.1.2

07ae1b41772748da4a7db27edb2c0d021e81c7d7 authored about 2 years ago by Jannis R <[email protected]>
/journeys/{ref}: support subStops, entrances & scheduledDays options

851a47a6e26991a530a7aa701388c4795bf8b67d authored about 2 years ago by Jannis R <[email protected]>
/journeys: support subStops & entrances options

7f15e1807b64ea64bd101aa711bf8afb325515e9 authored about 2 years ago by Jannis R <[email protected]>
examples: update hostname & version πŸ“; 4.1.1

9817ff9ce9831c5fb5f041fbb5c3ef061daa6c11 authored about 2 years ago by Jannis R <[email protected]>
/locations/nearby: fix OpenAPI spec & docs πŸ›

follow-up of ce266cf
fixes #17

Co-Authored-By: stefanjb-it <[email protected]>

d1accf65226d90121e44fbbd8b07725695a99ab3 authored about 2 years ago by Jannis R <[email protected]>
/locations: fix parameter descriptions πŸ›

fixes derhuerst/db-rest#24

a701852dc43fe70818d420e943acc9a439c264ac authored almost 3 years ago by Jannis R <[email protected]>
minor tweaks πŸ“; 4.1.0

[ci skip]

60335eacd8332d7f448da875a7498dd97934e360 authored almost 3 years ago by Jannis R <[email protected]>
add config.mapRoute{Parsers,OpenapiPaths} hooks

2da36b629c232ae1d9ce41bf60fd68b3f625ca9f authored almost 3 years ago by Jannis R <[email protected]>
routes: move code

eb8dc8664378fc6a64163426cc26613aea7b2b33 authored almost 3 years ago by Jannis R <[email protected]>
fix /journeys/:ref OpenAPI path πŸ›

ce3c1eec2574bfb36dad55d4befe056f33636223 authored almost 3 years ago by Jannis R <[email protected]>
/trips/:id OpenAPI spec: add missing lineName query parameter πŸ›

69b9bdc667307e052a3a8ad63aec7dc78a320949 authored almost 3 years ago by Jannis R <[email protected]>
tests: use app's user-agent βœ…; 4.0.0

4b65116c04201d4ef6946fc4f31c8aff0e079927 authored almost 3 years ago by Jannis R <[email protected]>
/stops/nearby -> /locations/nearby πŸ’₯βœ…

fixes #10

ce266cfa98ff62a4d6d787a280f176d79f410f6b authored almost 3 years ago by Jannis R <[email protected]>
VBB example: add caching via cached-hafas-client πŸ“

4e5907e66b8c6e07390a14946c42cf3092e17579 authored almost 3 years ago by Jannis R <[email protected]>
upgrade deps & dev deps; Node 16+ πŸ’₯

closes #14

d517887f354b91aefb2cf54ae18a2daf39495f16 authored almost 3 years ago by Jannis R <[email protected]>
[email protected], pino-pretty@6; 3.7.0

cd70e59479ddd18267594e5c3c2db1f52665faa6 authored about 3 years ago by Jannis R <[email protected]>
Travis CI -> GitHub Actions πŸ’š

13e8995cb80d208a4bd4a633267396d229e76f5d authored about 3 years ago by Jannis R <[email protected]>
pretty-print JSON by default

d68a072576a4c132232c6a1969f56eee99953d89 authored about 3 years ago by Jannis R <[email protected]>
set `aboutPage: false` in usage example

The example would otherwise crash, because description
and docsLink are mandatory when `aboutPag...

733c6bcfcc472b3e07e467a6868626dfba461b98 authored over 3 years ago by Yureka <[email protected]>
make attachMiddleware arg optional

This makes the actual interface match the usage example
from readme. Previously it would give an...

b44959d4eacebb65314a01b05e94dadd0d6592aa authored over 3 years ago by Yureka <[email protected]>
docs: descriptions of params were switched

fcc080fccced91f27ab0b2d2edae4d89d120b002 authored over 3 years ago by Yuka <[email protected]>
3.6.1

[ci skip]

58e29c279dfeb37c988a17c2dcf1cc7b7059ebdd authored over 3 years ago by Jannis R <[email protected]>
readme: update `config` keys section πŸ“

The Api crashed when some of the options, that were documented as non-mandatory, were not provid...

c637d4ab3d8b9023f58cec866870175df2e0343d authored over 3 years ago by Yuka <[email protected]>
put todo, 3.6.0

[ci skip]

9a2eb4a59816af55bac1bb32990482f2a056441b authored almost 4 years ago by Jannis R <[email protected]>
generate & serve OpenAPI spec

d80356a37f957f51a686daad9989317f37700f15 authored almost 4 years ago by Jannis R <[email protected]>
routes: expose OpenAPI paths

edbaf6ef6be574c5e8fc9033b1f15e0b6ac5ff72 authored almost 4 years ago by Jannis R <[email protected]>
parameter docs: number -> integer πŸ“

797f163ba46c1be84c4b6e4304af9584c67559d1 authored almost 4 years ago by Jannis R <[email protected]>
readme: update badges πŸ“, 3.5.1

[ci skip]

bc6534aa299b4648c3747127a3527d0c16673abb authored almost 4 years ago by Jannis R <[email protected]>
upgrade dev deps: [email protected], eslint@7, pino-pretty@4, tape@5

ebb7cee0c5935b7489d3d1c9e979173497ebde96 authored almost 4 years ago by Jannis R <[email protected]>
upgrade deps: pino@6, express-pino-logger@6

be221aa512ed98faf8f733981387a4d0e3da9a1a authored almost 4 years ago by Jannis R <[email protected]>
CSP option, minor tweaks, 3.5.0

a2b74c1ad89d80a380ebed75bcb552fcf405e32d authored over 4 years ago by Jannis R <[email protected]>
VBB example: stop serving logos

1e4f10f65477df14ac6d7b57a9cd75d92f08bf9b authored over 4 years ago by Jannis R <[email protected]>
add linter, 3.4.0

1c4dcc4c6b8b89a087440851088fbc2eb0b5b363 authored over 4 years ago by Jannis R <[email protected]>
send Server-Timing & X-Cache from cached-hafas-client data

3cfa2b9f925e94bc0394bd5e910f5644a3c9a25a authored over 4 years ago by Jannis R <[email protected]>
tools/generate-docs: fix route list :bug:, 3.3.1

4f4011b27cad424d860cf2e817f81aab6acabb95 authored over 4 years ago by Jannis R <[email protected]>
/stop/:id/arrivals: fix results param description :memo:, 3.3.0

3da392c6e192506283c74a1c4788a0679f8db86a authored over 4 years ago by Jannis R <[email protected]>
modifyRoutes hook

a83fe760d39ad9824e1434e30bf6fca215087808 authored over 4 years ago by Jannis R <[email protected]>
Access-Control-Expose-Headers: *, 3.2.0

bae4add547f370838ff05c7af48cbf7ae754d5b0 authored over 4 years ago by Jannis R <[email protected]>
add tools/generate-docs

This is a stop-gap solution.
see also https://github.com/public-transport/hafas-client/pull/176#...

42d48ee28a8e9dd43a792954cfd9c2adf8ae51e0 authored over 4 years ago by Jannis R <[email protected]>
routes: expose parameters & their descriptions

45a7d5168c372d7c30105b38dde56a60b5709cc4 authored over 4 years ago by Jannis R <[email protected]>
fixes :bug:

97b16e664b07ad69ae55aad55fe17e9c11dee9d3 authored over 4 years ago by Jannis R <[email protected]>
improve caching, route-specific expiry time

1e04b54637e770d798e0ecbba9da41f161c7c887 authored over 4 years ago by Jannis R <[email protected]>
better error response, set security headers

4f801c6121d26bd64ed7cf6677c5b40a218e7c85 authored over 4 years ago by Jannis R <[email protected]>
optional strong ETags

efc07756aec255863b5721deaac3040a1fe18fbc authored over 4 years ago by Jannis R <[email protected]>
minor tweaks, 3.1.0

bbbfb0c6d1d68d40212d8dff721831cb4477f0cd authored over 4 years ago by Jannis R <[email protected]>
arrivals/departures/journeys: pagination via Link header

98bf0ac556aaa5e85b79175639a17edf9954276b authored over 4 years ago by Jannis R <[email protected]>
respond with Hypermedia links on /

81217a9aef011112fb998ed3e261d10aabf30f50 authored over 4 years ago by Jannis R <[email protected]>
refactor API definition

c6709f4670fd61b58d936311155a18493d37f630 authored over 4 years ago by Jannis R <[email protected]>
accept ISO date/time strings

45db74564ece978b8cc46968283fad20142c96be authored over 4 years ago by Jannis R <[email protected]>
test for basic headers :white_check_mark

702f0db78f64ce0c167f1b7f55eb6cc33ea7b93a authored over 4 years ago by Jannis R <[email protected]>
tests: adapt to hafas-client@5, minor changes :white_check_mark:

a939b844023c11cd7aab47d269d493ff8f5f808f authored over 4 years ago by Jannis R <[email protected]>
move repo @derhuerst -> public-transport

[ci skip]

9ddfb4de6e632bc37e7009c37a7137d91cdfa2d7 authored over 4 years ago by Jannis R <[email protected]>
readme: document addHafasOpts :memo:, minor changes, 3.0.1

d2649845efe96bd43164c95c777ba3fc828cf555 authored almost 5 years ago by Jannis R <[email protected]>
add date-fns dep :bug:

78e3773caa47ee88a77dd8aecdccc3314509fd2f authored almost 5 years ago by Jannis R <[email protected]>
stringify-entities@3, minor changes, 3.0.0

b5fcf04ae11ecfb60e4ca9cfc1bc099280631c84 authored almost 5 years ago by Jannis R <[email protected]>
add /stops/reachable-from route

8c2c5314aff8f3e65df952609bd5210362d6a9d1 authored almost 5 years ago by Jannis R <[email protected]>
hafas-client@5, Node 10+ :boom:

fc50e562e645eef5a83a50dfef79afa2d074a78c authored almost 5 years ago by Jannis R <[email protected]>
remove cfg.port :boom:

074ca2d1c7cfa34f62b62e2ed3a16253328103ee authored almost 5 years ago by Jannis R <[email protected]>
remove /stations routes :boom:

9ad49a3560b41c43d1c8efa86da70061aacffa39 authored almost 5 years ago by Jannis R <[email protected]>
remove cors.js entrypoint :boom:

3d91fa7329706b907fc160d637443b3b2168e315 authored almost 5 years ago by Jannis R <[email protected]>
markdown-it@10, 2.1.4

d9c329ee8ea1c6c8233ab269652dfb90abb180db authored almost 5 years ago by Jannis R <[email protected]>
fix /journeys with POIs :bug:

099d49d74825a1c011e6f9e87556849afcdd7e69 authored almost 5 years ago by Jannis R <[email protected]>
parseWhen: respect timezone, 2.1.3

ff95845db147b8048b61a0d988fa985870f072cc authored about 5 years ago by Jannis R <[email protected]>
IBNR as 2+ digits :bug:, 2.1.2

2d8010847a8c4e0ebfdb1d10b13e679451a68ba8 authored about 5 years ago by Jannis R <[email protected]>
fix /journeys :bug:, 2.1.1

06e441565a8157ef972f3894a80a7ed238af521c authored about 5 years ago by Jannis R <[email protected]>
temporarily support /stops/:id/departures as documented, 2.1.0

698418f8b4608bd5e34f0c1b5676010e96b38ca5 authored over 5 years ago by Jannis R <[email protected]>
markdown-it@9, [email protected], get-port@5, pino-pretty@3

61f01e7b5d2e102477db99045891083a4207ac1f authored over 5 years ago by Jannis R <[email protected]>
unify /health status code with HAFAS errors: 502 :bug:, 2.0.1

7e5cd3424dbefaa5780743c2cfffef7f1b4aa247 authored almost 6 years ago by Jannis R <[email protected]>
Travis CI :green_heart:

27a05f3dce12a2521a03142eebec3e596ed3afcd authored almost 6 years ago by Jannis R <[email protected]>
Node 8+ :boom:, stringify-entities@2, tap-min@2, 2.0.0

10722745c821d1525d38a12f220d454763806973 authored almost 6 years ago by Jannis R <[email protected]>
/stations -> /stops :boom:

5c06dcdde5a8884ea444928de688d30f3e401c56 authored almost 6 years ago by Jannis R <[email protected]>
hafas-client@4 :boom:

c3c76331f1201e65f47ca1b02a60dfbee6e7ccb5 authored almost 6 years ago by Jannis R <[email protected]>
morgan -> pino :boom:

eff2ecce9e02b29e57286cd17096a25ac1e12659 authored almost 6 years ago by Jannis R <[email protected]>
handle-errors: factory function :boom:

f35684877b91ff945bd067b738508757596d305a authored almost 6 years ago by Jannis R <[email protected]>
fix files field :bug:, 1.2.1

e3dff99c6f96c4d5029c253837f41d6ad9545902 authored almost 6 years ago by Jannis R <[email protected]>
docsAsMarkdown option, 1.2.0

closes #4

9d31cd69f4620c42da150564d74e63c1cb6274c1 authored almost 6 years ago by Jannis R <[email protected]>
fix parseWhen :bug:, 1.1.3

5ee39df78cdaee54b0e395ffd85b64f1176e9875 authored almost 6 years ago by Jannis R <[email protected]>
link to hafas-client-health-check :memo:, 1.1.2

6c3609cae1647fa782cd08e36091b28ad5e43057 authored about 6 years ago by Jannis R <[email protected]>
fix: radar endpoint

f6499e16aac95e9d38a5bbe59dd5b38bd504c475 authored about 6 years ago by Milan PΓ€ssler <[email protected]>
make cfg.healthCheck optional again :bug:, 1.1.1

da95b3c49e3fb7a0a463069f16cee616a4734d26 authored about 6 years ago by Jannis R <[email protected]>