{"action":"opened","issue":{"url":"https://api.github.com/repos/addok/addok/issues/267","repository_url":"https://api.github.com/repos/addok/addok","labels_url":"https://api.github.com/repos/addok/addok/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/addok/addok/issues/267/comments","events_url":"https://api.github.com/repos/addok/addok/issues/267/events","html_url":"https://github.com/addok/addok/issues/267","id":210197679,"number":267,"title":"Search filter for cities","user":{"login":"kaelhem","id":1114181,"avatar_url":"https://avatars.githubusercontent.com/u/1114181?v=3","gravatar_id":"","url":"https://api.github.com/users/kaelhem","html_url":"https://github.com/kaelhem","followers_url":"https://api.github.com/users/kaelhem/followers","following_url":"https://api.github.com/users/kaelhem/following{/other_user}","gists_url":"https://api.github.com/users/kaelhem/gists{/gist_id}","starred_url":"https://api.github.com/users/kaelhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaelhem/subscriptions","organizations_url":"https://api.github.com/users/kaelhem/orgs","repos_url":"https://api.github.com/users/kaelhem/repos","events_url":"https://api.github.com/users/kaelhem/events{/privacy}","received_events_url":"https://api.github.com/users/kaelhem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-25T01:11:41Z","updated_at":"2017-02-25T01:11:41Z","closed_at":null,"body":"It will be great to be able to filter results for cities like Paris or Lyon (with many sub-districts, so many postcodes).\r\nActually tested something like this : \r\n```\r\nhttp://devapi-adresse.data.gouv.fr/search/?q=1%20av%20daumesnil&postcode=75011,75012,75013&type=housenumber\r\n```\r\non dev etalab servers (devapi), but it seems that's not the way to proceed : it works great with 2 given postcodes, but with 3 or more, results become strange.\r\n\r\nThe best thing I can imagine (without any idea of the complexity implied), will be to filter by the city attribute (&city=paris), or something like the revelant part of the postcode (&postcode=75)\r\n\r\nDoes it sounds possible/ugly/useless? Did I missed something?"}}
{"actor":{"display_login":"kaelhem"}}