-
Notifications
You must be signed in to change notification settings - Fork 170
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
BiciMAD (Madrid) need an accessToken #524
Comments
TL;DR It took me quite a while but I managed to fix this. -> please see eUgEntOptIc44@66efe06 Unfortunately adding the So I dug deeper to discover that a account is required to generate a token. The token is only valid during the session. Furthermore a valid (Spanish?) mobile number is required to verify the account. All in all bad news for a possible integration into pybikes. Searching the 'news' section of Madrid's Mobility Labs I discovered a map dashboard powered by ArcGIS at mynavega.emtmadrid.es. Despite the slightly dated impression it's fully functional and using some sort of proxy/loadbalancer to use the api data endpoints. So using However I had to implement some minor adaptions to access the json encoded results within the json encoded request answer. This seems to be caused by the mentioned proxy/loadbalancer used for the map. |
We accept implementations requiring an access token, as long as this access token is something that can be reasonably accessed. See https://github.com/eskerda/pybikes/blob/master/pybikes/cyclocity.py for an example I will dug deeper into their android app to see if there's any shortcut. While not ideal, I think it's reasonable to expect a token from https://mobilitylabs.emtmadrid.es/es/portal/mobilitylabs |
change data feed for Bicimad (Madrid, ES) (fixes #524)
actual code
source
https://gitlab.com/mobilitylabsmadrid/helps_and_utilities/openapi_documents/-/blob/master/utilities/DEVELOPERS.postman_collection.json#L580-L581
documentation: other issue about BiciMAD
#428
The text was updated successfully, but these errors were encountered: