{"action":"created","issue":{"url":"https://api.github.com/repos/boldtrn/GraphHopperNominatimConverter/issues/1","repository_url":"https://api.github.com/repos/boldtrn/GraphHopperNominatimConverter","labels_url":"https://api.github.com/repos/boldtrn/GraphHopperNominatimConverter/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/boldtrn/GraphHopperNominatimConverter/issues/1/comments","events_url":"https://api.github.com/repos/boldtrn/GraphHopperNominatimConverter/issues/1/events","html_url":"https://github.com/boldtrn/GraphHopperNominatimConverter/pull/1","id":142421361,"number":1,"title":"Make query working","user":{"login":"karussell","id":129644,"avatar_url":"https://avatars.githubusercontent.com/u/129644?v=3","gravatar_id":"","url":"https://api.github.com/users/karussell","html_url":"https://github.com/karussell","followers_url":"https://api.github.com/users/karussell/followers","following_url":"https://api.github.com/users/karussell/following{/other_user}","gists_url":"https://api.github.com/users/karussell/gists{/gist_id}","starred_url":"https://api.github.com/users/karussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karussell/subscriptions","organizations_url":"https://api.github.com/users/karussell/orgs","repos_url":"https://api.github.com/users/karussell/repos","events_url":"https://api.github.com/users/karussell/events{/privacy}","received_events_url":"https://api.github.com/users/karussell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-21T17:48:06Z","updated_at":"2016-03-23T12:26:58Z","closed_at":"2016-03-22T10:04:36Z","pull_request":{"url":"https://api.github.com/repos/boldtrn/GraphHopperNominatimConverter/pulls/1","html_url":"https://github.com/boldtrn/GraphHopperNominatimConverter/pull/1","diff_url":"https://github.com/boldtrn/GraphHopperNominatimConverter/pull/1.diff","patch_url":"https://github.com/boldtrn/GraphHopperNominatimConverter/pull/1.patch"},"body":"Adding q and limit parameter to forward to nominatim\r\n\r\nIt looks like city is null in the response (?)\r\n\r\nAlso I've not yet seen how to make `q` required."},"comment":{"url":"https://api.github.com/repos/boldtrn/GraphHopperNominatimConverter/issues/comments/200327519","html_url":"https://github.com/boldtrn/GraphHopperNominatimConverter/pull/1#issuecomment-200327519","issue_url":"https://api.github.com/repos/boldtrn/GraphHopperNominatimConverter/issues/1","id":200327519,"user":{"login":"boldtrn","id":1553525,"avatar_url":"https://avatars.githubusercontent.com/u/1553525?v=3","gravatar_id":"","url":"https://api.github.com/users/boldtrn","html_url":"https://github.com/boldtrn","followers_url":"https://api.github.com/users/boldtrn/followers","following_url":"https://api.github.com/users/boldtrn/following{/other_user}","gists_url":"https://api.github.com/users/boldtrn/gists{/gist_id}","starred_url":"https://api.github.com/users/boldtrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boldtrn/subscriptions","organizations_url":"https://api.github.com/users/boldtrn/orgs","repos_url":"https://api.github.com/users/boldtrn/repos","events_url":"https://api.github.com/users/boldtrn/events{/privacy}","received_events_url":"https://api.github.com/users/boldtrn/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T12:26:58Z","updated_at":"2016-03-23T12:26:58Z","body":"@karussell I just found why in some requests the city is null. Nominatim can return three different city like values `city, town, village`. The GHResponse only contains only city. So I think we should return the town if no city is available and return the village if no town is available. Or we could do it vice versa and starting from village. If no village is given we return the town. if no town is given we return the city. I am not sure if it can happen that more than one value is given. Haven't found an example yet."}}