hafas-rest-api-client:用于hafas-rest-api端点的API客户端

时间:2024-05-29 01:56:57
【文件属性】:

文件名称:hafas-rest-api-client:用于hafas-rest-api端点的API客户端

文件大小:6KB

文件格式:ZIP

更新时间:2024-05-29 01:56:57

transit public-transport hafas-client JavaScript

hafas-rest-api-client 端点的客户端,例如的客户端。 正在安装 npm install hafas-rest-api-client 用法 const createClient = require ( 'hafas-rest-api-client' ) const vbbClient = createClient ( 'https://v5.vbb.transport.rest' , { // Please pass in a User-Agent header to let the providers of the API endpoint understand how you're using their API. userAgent : 'my awesome project' , } ) const res = await vbbClient . journ


【文件预览】:
hafas-rest-api-client-master
----.gitignore(96B)
----license.md(727B)
----example.js(524B)
----package.json(810B)
----readme.md(2KB)
----index.js(4KB)
----test.js(3KB)
----.travis.yml(61B)
----.editorconfig(293B)

网友评论