-
Notifications
You must be signed in to change notification settings - Fork 13
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
As Municipality of Bolzano, I would like to get again real-time data of the Parking Laurin infrastructure #685
Comments
I'm having difficulties in identifying the old data collector i need to migrate to the new endpoint and the credentials needed for the authentication. |
@Luscha the previous Data Collector in which we had this parking station is this one: https://github.com/noi-techpark/bdp-commons/tree/main/data-collectors/parking-offstreet-meranobolzano (2. Parking slot data from FAMAS) The parking station is this one, all data types are affected, except for the ones we consider for our elaborations, e.g forecasts |
Thank you Roberto, the only thing i need more information about are the credentials. |
@Luscha yes, you should use that credentials, username = [email protected]. Can you confirm? |
Trying to query the endpoint https://www.mybestinparking.it/api/Facility/GetFreePlaces?FacilityID=406983&CountingCategoryNo=3 including the access_token got from the authentication (oauth) against https://www.onecenter.info/oauth/token (Skidata oauth endpoint) I'm still getting the login page as response. Just to be sure i'm following the right process, i followed the skidata documentation at https://github.com/noi-techpark/bdp-commons/blob/main/data-collectors/parking-offstreet-sta/documentation/230728_SpecificaSkidata.pdf. After getting the token using the credentials username = [email protected] i use it to get data from the provided url (https://www.mybestinparking.it/api/Facility/GetFreePlaces?FacilityID=406983&CountingCategoryNo=3). |
@Luscha yes, you are doing all right. Can you provide me a screenshot of this login page? I think we had a similar issue we had in the past with this supplier... |
Api call:
result:
|
@Luscha thanks for the bug documentation, this what I thought. Let me check with the tech supplier, I let you know. In the meantime let's put this on hold |
@Luscha I have got the following feedback:
Can you try and give me a feedback? |
@rcavaliere with the new oauth endpoint i'm able to retrieve the data |
This parking station is present since long time ago, but due to technical reasons, the parking API provided by the Municipality of Bolzano (Famas System) does not provide real-time data since long time now.
There is now a "direct" channel for this, i.e. use the Skidata API, but with a different end-point, which is: https://www.mybestinparking.it/api/Facility/GetFreePlaces?FacilityID=406983&CountingCategoryNo=3
The credentials are exactly the same as for the other Data Collector implemented.
Please ensure that the real-time data provided is assigned to the existing parking station available in the Open Data Hub.
The text was updated successfully, but these errors were encountered: