f1ana / Nominatim.API

Library for utilizing geocoding (forward and reverse), in addition to address lookups, with the Nominatim HTTP API. Targets .NET 6 and .NET Standard 2.0.
https://www.nuget.org/packages/Nominatim.API
MIT License
50 stars 27 forks source link

adding search API #34

Open sonofsatoshi opened 10 months ago

sonofsatoshi commented 10 months ago

Adding https://nominatim.org/release-docs/latest/api/Search/

f1ana commented 10 months ago

Hello, could you add test coverage please? Specifically integration tests so we can confirm its functionality prior to bundling.

J-Lacerte commented 10 months ago

During the tests, in "GeocoderTests.cs", on line 54, I have the following error "System.NullReferenceException: Object reference not set to an instance of an object." (r is null). Is this what is planned?

J-Lacerte commented 10 months ago

Oops!, the error is on line 88.

sonofsatoshi commented 10 months ago

Tests added, fixed existing test to make all green