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

Fail on Yahoo PlaceFinder #311

Closed
billytotochan opened this issue Nov 3, 2017 · 2 comments
Closed

Fail on Yahoo PlaceFinder #311

billytotochan opened this issue Nov 3, 2017 · 2 comments

Comments

@billytotochan
Copy link

I thinks its Yahoo API changed?

Both cli and python API reproduce the same error.

g = geocoder.yahoo('San Francisco, CA')
g.json
Command Line Interface
$ geocode 'San Francisco, CA' --provider yahoo --out geojson

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/geocoder/base.py", line 458, in _initialize
json_response) if json_response else True
File "/usr/local/lib/python3.6/site-packages/geocoder/yahoo.py", line 101, in _catch_errors
status = json_response['statusDescription']
KeyError: 'statusDescription'

@ebreton
Copy link
Collaborator

ebreton commented Nov 12, 2017

I think this one is a duplicate of #148 ...

I am closing this one since the other contains more info to upgrade the provider

Please reopen if I did not got it right 🙏

@ebreton ebreton closed this as completed Nov 12, 2017
@Kayden-lolasery
Copy link

Kayden-lolasery commented Sep 12, 2022

@ebreton running the sample code on https://geocoder.readthedocs.io/providers/Yahoo.html fails

It has been 4 years will this be resolved?
image

Capture

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

3 participants