developmentseed / developmentseed/landsat-util

GEOCODER needs API-KEY?

Open
#242 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
698
Forks
144
PR merge metrics
No merged PRs in 30d

Description

The unit-test voor geocode fails. Nothing changed here. See stack trace below.
Probable because the API-KEY has expired? Anyone has on idea?

=============================
Traceback (most recent call last):
File "/home/travis/build/developmentseed/landsat-util/tests/test_utils.py", line 109, in test_geocode
loc = utils.geocode('1600 Pennsylvania Ave NW, Washington, DC 20500')
File "/home/travis/build/developmentseed/landsat-util/landsat/utils.py", line 328, in geocode
geocoded = geocoder.google(address)
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/api.py", line 195, in google
return get(location, provider='google', **kwargs)
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/api.py", line 161, in get
return options[provider][method](location, **kwargs)
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/base.py", line 708, in __init__
provider_key = self._get_api_key(kwargs.pop('key', None))
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/base.py", line 687, in _get_api_key
raise ValueError('Provide API Key')
ValueError: Provide API Key

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.