get Results State
@GET(value = "/search?" )
Fetches the results for a specific state using the Nominatim API.
Return
a List of results for the search, as it's limited to 1 the result would be only one
Parameters
state
The state name (typically from the adminArea
property of AdministrativeUnitName
).
country
The country name (typically from the countryName
property of AdministrativeUnitName
).
polygon Geo JSON
specifies the API to return the geoJSON format
limit
limits the result of only one
format
specifies that will be a json return