HSLdevcom / HSLdevcom/digitransit-ui
How to use Digitransit UI for OTP with API key?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 267
- Forks
- 145
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 75
Description
Hi folks,
Thank you very much for creating and maintaining this repository. Please accept my appreciation!
I am new to the Digitransit UI. I would like to use it as UI for the following OpenTripPlaner API.
The following curl instruction is an example on how to use this API. You can see that an API key is required to use this API.
curl -X GET 'http://gtfsr.vbn.de/api/routers/connect/plan?arriveBy=false&date=05-25-2021&fromPlace=53.08287,8.81334&toPlace=53.05270,8.78617&time=13:00:00&mode=WALK,TRANSIT&maxWalkDistance=300' -H 'Authorization: insert API key' -H 'Host: gtfsr.vbn.de'
Considering the API key, would you say I am still able to interact with this UI? If yes, I appreciate any advice how to achieve it. Cheers!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the curl request in the issue, especially the Authorization header and the OpenTripPlanner endpoint. Inspect the repository's existing UI request and configuration documentation to determine whether an API key can be supplied. Done means documenting a supported configuration or clearly stating that this integration is not supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, frontend
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100