{"action":"created","issue":{"url":"https://api.github.com/repos/adtac/climate/issues/23","repository_url":"https://api.github.com/repos/adtac/climate","labels_url":"https://api.github.com/repos/adtac/climate/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/adtac/climate/issues/23/comments","events_url":"https://api.github.com/repos/adtac/climate/issues/23/events","html_url":"https://github.com/adtac/climate/pull/23","id":205370597,"number":23,"title":"Added ipinfo.io support","user":{"login":"Gurkengewuerz","id":10966337,"avatar_url":"https://avatars.githubusercontent.com/u/10966337?v=3","gravatar_id":"","url":"https://api.github.com/users/Gurkengewuerz","html_url":"https://github.com/Gurkengewuerz","followers_url":"https://api.github.com/users/Gurkengewuerz/followers","following_url":"https://api.github.com/users/Gurkengewuerz/following{/other_user}","gists_url":"https://api.github.com/users/Gurkengewuerz/gists{/gist_id}","starred_url":"https://api.github.com/users/Gurkengewuerz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gurkengewuerz/subscriptions","organizations_url":"https://api.github.com/users/Gurkengewuerz/orgs","repos_url":"https://api.github.com/users/Gurkengewuerz/repos","events_url":"https://api.github.com/users/Gurkengewuerz/events{/privacy}","received_events_url":"https://api.github.com/users/Gurkengewuerz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-04T19:20:06Z","updated_at":"2017-02-25T16:29:48Z","closed_at":"2017-02-25T16:29:41Z","pull_request":{"url":"https://api.github.com/repos/adtac/climate/pulls/23","html_url":"https://github.com/adtac/climate/pull/23","diff_url":"https://github.com/adtac/climate/pull/23.diff","patch_url":"https://github.com/adtac/climate/pull/23.patch"},"body":"Added the API from [ipinfo.io](http://ipinfo.io/). To make it work i had to add jq to decode the json response. If someone has a better option please say it.\r\n\r\n**Example:**\r\n```\r\nroot@MVS1936:~# climate ipinfo\r\n+ curl --silent https://ipinfo.io/\r\nIP-Address: 130.180.88.76\r\nHostname: b2b-130-180-88-76.unitymedia.biz\r\nNetwork: AS6830 Liberty Global Operations B.V.\r\nCity: Dortmund, North Rhine-Westphalia, DE\r\nPostal Code: 44143\r\nLatitude/Longitude: 51.5208,7.5184\r\n\r\nroot@MVS1936:~# climate ipinfo 198.41.214.162\r\n+ curl --silent https://ipinfo.io/198.41.214.162\r\nIP-Address: 198.41.214.162\r\nHostname: No Hostname\r\nNetwork: AS13335 Cloudflare, Inc.\r\nCity: San Francisco, California, US\r\nPostal Code: 94107\r\nLatitude/Longitude: 37.7697,-122.3933\r\n```"},"comment":{"url":"https://api.github.com/repos/adtac/climate/issues/comments/282494806","html_url":"https://github.com/adtac/climate/pull/23#issuecomment-282494806","issue_url":"https://api.github.com/repos/adtac/climate/issues/23","id":282494806,"user":{"login":"adtac","id":7521600,"avatar_url":"https://avatars.githubusercontent.com/u/7521600?v=3","gravatar_id":"","url":"https://api.github.com/users/adtac","html_url":"https://github.com/adtac","followers_url":"https://api.github.com/users/adtac/followers","following_url":"https://api.github.com/users/adtac/following{/other_user}","gists_url":"https://api.github.com/users/adtac/gists{/gist_id}","starred_url":"https://api.github.com/users/adtac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adtac/subscriptions","organizations_url":"https://api.github.com/users/adtac/orgs","repos_url":"https://api.github.com/users/adtac/repos","events_url":"https://api.github.com/users/adtac/events{/privacy}","received_events_url":"https://api.github.com/users/adtac/received_events","type":"User","site_admin":false},"created_at":"2017-02-25T16:29:48Z","updated_at":"2017-02-25T16:29:48Z","body":"Cheers, thanks! Merged it :+1:"}}
{"actor":{"display_login":"adtac"}}