OpenCageData / address-formatting

templates to format geographic addresses
MIT License
394 stars 84 forks source link

Add alias 'housenumber' #81

Closed JakobMiksch closed 2 years ago

JakobMiksch commented 2 years ago

I tried address-formatting using the JavaScript implementation for Photon API. Unfortunately, the house numbers could not be recognized, because the property from the Photon response is spelled housenumber and not house_number. See Issue https://github.com/fragaria/address-formatter/issues/493 for details.

I could locally ensure that it works like expected for me, but I am not sure if it has unintended side effects. Please let me know if there is more test to be done or if there is more work needed in this pull request.

Thanks for providing this very useful repository.

freyfogle commented 2 years ago

Many thanks, Jakob. Great to have your contibution, next time though please also add a test (see all the examples in the testcases dir). I will add one now. Thanks!