Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add History of recently returned bikes #24

Open
lgehr opened this issue Nov 28, 2020 · 1 comment
Open

[Feature] Add History of recently returned bikes #24

lgehr opened this issue Nov 28, 2020 · 1 comment

Comments

@lgehr
Copy link
Collaborator

lgehr commented Nov 28, 2020

It would be nice to have not only see the currently rented bikes but also a history of recent rentals.

For this we probably need to change some things as in the moment the App does not remember rented bikes.

If the user changes apps while using our app it still need to be able to getOpenRentals which were not rented with nextCompanion.
Possible solution could be to getOpenRentals if the user locks in and update every rented bike the app knows of when in MainActivity

@meierjan
Copy link

meierjan commented Dec 11, 2020

You can use rentals.json for that. It's also available in XML. It returns both running and historic-rentals.

It requires an API-key as well as a login-key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants