DenisCarriere / geocoder

:earth_asia: Python Geocoder
http://geocoder.readthedocs.org
MIT License
1.63k stars 288 forks source link

how to get the key for geocoder.arcgis #441

Open MarkRoy8888 opened 3 years ago

MarkRoy8888 commented 3 years ago

I use geocoder package in our company.

import geocoder
g = geocoder.arcgis(address)
g.address

I want to make sure it works, so I need to pay for this service. I don't how to get the key and key-in the key?

paulstey commented 2 years ago

I would be curious about this, too. It seems that unlike some of the other provider modules, the geocoding.arcgis module does not allow the user to supply and API key.

Is that correct, @DenisCarriere??

And as an aside, thank you so much for this excellent Python package!!

capell-ben commented 11 months ago

@DenisCarriere I am also curious what credentials geocoder.arcgis() uses to access the results from the ArcGIS World Geocoding Service? I haven't provided an API Key, but i still get a result.

I echo the thanks of @paulstey for this package!

**update it appears that the url here: https://github.com/DenisCarriere/geocoder/blob/39b9999ec70e61da9fa52fe9fe82a261ad70fa8b/geocoder/arcgis.py#L68 is providing the response and the request does not have to include a unique key because None set here: https://github.com/DenisCarriere/geocoder/blob/39b9999ec70e61da9fa52fe9fe82a261ad70fa8b/geocoder/base.py#L380, based on https://github.com/DenisCarriere/geocoder/blob/39b9999ec70e61da9fa52fe9fe82a261ad70fa8b/geocoder/base.py#L329, if the user doesn't overwrite with a unique one. This seems like a backdoor to the service that may have some of usage limit. (just a thought)