{"action":"created","issue":{"url":"https://api.github.com/repos/debian-sh/Placetag/issues/22","labels_url":"https://api.github.com/repos/debian-sh/Placetag/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/debian-sh/Placetag/issues/22/comments","events_url":"https://api.github.com/repos/debian-sh/Placetag/issues/22/events","html_url":"https://github.com/debian-sh/Placetag/issues/22","id":71072660,"number":22,"title":"Nominatim - ściąganie informacji o miejscu","user":{"login":"debian-sh","id":5663277,"avatar_url":"https://avatars.githubusercontent.com/u/5663277?v=3","gravatar_id":"","url":"https://api.github.com/users/debian-sh","html_url":"https://github.com/debian-sh","followers_url":"https://api.github.com/users/debian-sh/followers","following_url":"https://api.github.com/users/debian-sh/following{/other_user}","gists_url":"https://api.github.com/users/debian-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/debian-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debian-sh/subscriptions","organizations_url":"https://api.github.com/users/debian-sh/orgs","repos_url":"https://api.github.com/users/debian-sh/repos","events_url":"https://api.github.com/users/debian-sh/events{/privacy}","received_events_url":"https://api.github.com/users/debian-sh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Porkite","id":4449083,"avatar_url":"https://avatars.githubusercontent.com/u/4449083?v=3","gravatar_id":"","url":"https://api.github.com/users/Porkite","html_url":"https://github.com/Porkite","followers_url":"https://api.github.com/users/Porkite/followers","following_url":"https://api.github.com/users/Porkite/following{/other_user}","gists_url":"https://api.github.com/users/Porkite/gists{/gist_id}","starred_url":"https://api.github.com/users/Porkite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Porkite/subscriptions","organizations_url":"https://api.github.com/users/Porkite/orgs","repos_url":"https://api.github.com/users/Porkite/repos","events_url":"https://api.github.com/users/Porkite/events{/privacy}","received_events_url":"https://api.github.com/users/Porkite/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-04-26T14:07:49Z","updated_at":"2015-05-06T17:34:39Z","closed_at":"2015-05-06T17:34:39Z","body":"Potrzebna jest funkcja, która jako parametr przyjmie stringa z adresem wpisanym przez użytkownika.\r\nZapytaniem ajaxowym w jquery powinna ściągać JSONa i wyciągać z niego dane między innymi o pozycji latitude i longitude. Zapytanie ajaxowe należy kierować na następujący adres:\r\n\r\nprzykład zapytania dla Wilkowo Polskie, ul. Przemysłowa 3\r\n\r\nhttp://nominatim.openstreetmap.org/?format=json&addressdetails=1&q=wilkowo+polskie+przemyslowa+3\r\n\r\nStrukturę JSONa przedstawiłem w https://github.com/debian-sh/Placetag/issues/15\r\n\r\nMusi zwracać obiekt o następującej strukturze (odpowiadający strukturze naszego zasobu REST API zdefiniowanego w `main.js`).\r\n\r\n```javascript\r\nvar place = {\r\n\t'latitude' : 52.471226841873495,\r\n\t'longitude' : 16.904611587524414,\r\n\t'street' : \"string\",\r\n\t'city' : \"string\"\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/debian-sh/Placetag/issues/comments/99545909","html_url":"https://github.com/debian-sh/Placetag/issues/22#issuecomment-99545909","issue_url":"https://api.github.com/repos/debian-sh/Placetag/issues/22","id":99545909,"user":{"login":"debian-sh","id":5663277,"avatar_url":"https://avatars.githubusercontent.com/u/5663277?v=3","gravatar_id":"","url":"https://api.github.com/users/debian-sh","html_url":"https://github.com/debian-sh","followers_url":"https://api.github.com/users/debian-sh/followers","following_url":"https://api.github.com/users/debian-sh/following{/other_user}","gists_url":"https://api.github.com/users/debian-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/debian-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debian-sh/subscriptions","organizations_url":"https://api.github.com/users/debian-sh/orgs","repos_url":"https://api.github.com/users/debian-sh/repos","events_url":"https://api.github.com/users/debian-sh/events{/privacy}","received_events_url":"https://api.github.com/users/debian-sh/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T17:34:39Z","updated_at":"2015-05-06T17:34:39Z","body":"Gotowy kod:\r\n\r\nhttps://github.com/debian-sh/Placetag/blob/dev-model/placetag-app/public/js/getplace.js"}}