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
Here geocoder authentication issues #381
Comments
Just to be clear. The API still supports the old type of authentication, so if you already have created an APP with So it seems for a period of time geopy should support
|
No. PR is welcome.
Currently there're no geocoders using oauth in geopy, but there was one before: 5fe1884 |
I was just about to raise an issue myself. I can help with this as I've implemented the original plugin as well. I would add only the new APIKEY mechanism available for new HERE accounts, and leave OAuth2 for later or somebody else. In any case it would be a breaking change to the internal API which now has two positional parameters |
Making GoogleV3 implements a similar approach with a subsequent validation of passed credentials in geopy/geopy/geocoders/googlev3.py Lines 101 to 104 in 0f0ac3e
@deeplook I'm going to cut a new release this week. Would you like me to wait for your PR with the fix so it could get to the upcoming release? |
@KostyaEsmukov If you can wait for a few days I'd appreciate. I've implemented the fix in a different context already. It's just a matter of repeating this for geopy. |
@deeplook No problem at all, thank you for prompt reply! |
is there a fix for this yet? |
@trevorphillips On it... |
Fixed by b81969c...29b42e5 |
Released in 1.21.0. |
Maybe i am mistaken but the Here API wrapper inside geopy is outdated, it seems it cant support the
api_key
argument which is the current way of authenticating with the here api alongside the app_id.for example this fail as the current class uses app_id and app_code:
Basically all new apps don't receive an
app_code
so they cant work with geopy's wrapper.is it planned in a future release or a PR is welcome?
Here docs about the app_code stopping:
The text was updated successfully, but these errors were encountered: