Closed tsobuskerudbyen closed 5 months ago
I took a look at this today.
My previous API call https://api.safebikely.com/api/v1/s/locations is no longer working and return an error 404.
I've looked the Bikely website and cannot find any technical information about how to consume the API. Do you have any?
Answer from Bikely just now:
Fra: Keivan Farr Sendt: fredag 23. februar 2024 09:43 Til: Trond Solem Kopi: Hallvar Bergh; Leonard Emne: Re: [buskerudbyen/cycling-norway] Bikley: Broken API both in new locations and available lockers
Hello Trond,
Sorry for the late reply on this one. We removed part of the API for external clients and this endpoint was one of them.
As a temporary alternative you can use our public (no API key) end point. Here is our full documentation https://api.safebikely.com/swagger/index.html for Leonard.
What you need is the "/api/services/app/Location/GetPins" endpoint, return type is the same as before. You can find all the details from the Swagger page. I hope this fixes the issue for now, until we find a better solution.
Regards,
Is this ticket dependent on https://github.com/opentripplanner/OpenTripPlanner/pull/5708 ?
Yes, it is. That PR was merged a few hours ago so I deployed it to our instance and Bikely is back!
There are now new locations with Bikely bike lockers in Drammen. See screenshot from app. Any reason that:
Sykkelveier.no:
Bikely app:
![image](https://github.com/buskerudbyen/cycling-norway/assets/70061303/af2da39c-3543-4c52-8ab6-22bb2a13b1b8)