community
community copied to clipboard
Adds new general bike share feed specification applet
The PR implements a new bikeshare applet that supports bikeshare companies using the general bikeshare feed specification. The applet shows the availability of bikes and parking respectively for a user selected provider and stations.
The applet allows users to select one of the providers listed in NABSA's systems list. It uses schema.Generated
to facilitate selection of the two stations to show statuses for. Caching is used for all requests to minimise load on GBFS APIs and a user agent links back to the app.
Any feedback is welcome!
I should probably improve the error handling as it now uses the fail()
function which is not best practice.
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
I have read the CLA Document and I hereby sign the CLA
I had to rewrite the commit history as I had used my work email instead of my personal email in the commits. Seem to have rewritten one too many commit. Will fix the history if necessary and add some better error handling soon.
Edit: I've squashed the commits into one and fixed so history is correct.
I was starting to build this! Glad to have a PR started and excited to use this!
This is really sweet!
This is really sweet!
Thank you! I really appreciate you taking the time to review and merge. 😄 Loving my Tidbyt so far.