{"action":"created","issue":{"url":"https://api.github.com/repos/ankushs92/Java-DB-IP/issues/11","repository_url":"https://api.github.com/repos/ankushs92/Java-DB-IP","labels_url":"https://api.github.com/repos/ankushs92/Java-DB-IP/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/ankushs92/Java-DB-IP/issues/11/comments","events_url":"https://api.github.com/repos/ankushs92/Java-DB-IP/issues/11/events","html_url":"https://github.com/ankushs92/Java-DB-IP/issues/11","id":171804177,"number":11,"title":"GeoEntity should also include the ISO code as well","user":{"login":"ankushs92","id":7692552,"avatar_url":"https://avatars.githubusercontent.com/u/7692552?v=3","gravatar_id":"","url":"https://api.github.com/users/ankushs92","html_url":"https://github.com/ankushs92","followers_url":"https://api.github.com/users/ankushs92/followers","following_url":"https://api.github.com/users/ankushs92/following{/other_user}","gists_url":"https://api.github.com/users/ankushs92/gists{/gist_id}","starred_url":"https://api.github.com/users/ankushs92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankushs92/subscriptions","organizations_url":"https://api.github.com/users/ankushs92/orgs","repos_url":"https://api.github.com/users/ankushs92/repos","events_url":"https://api.github.com/users/ankushs92/events{/privacy}","received_events_url":"https://api.github.com/users/ankushs92/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T02:27:41Z","updated_at":"2017-02-08T06:39:32Z","closed_at":"2017-02-08T06:39:32Z","body":"So for a Country like India,we would get : \n\n``` java\nfinal GeoEntity geoEntity = client.lookup(some_ip);\nfinal CountryCode countryCode = geoEntity.getCountryCode();\nSystem.out.println(countryCode);\n```\n\nThis prints:\n\n```\nIN\n```\n"},"comment":{"url":"https://api.github.com/repos/ankushs92/Java-DB-IP/issues/comments/278242365","html_url":"https://github.com/ankushs92/Java-DB-IP/issues/11#issuecomment-278242365","issue_url":"https://api.github.com/repos/ankushs92/Java-DB-IP/issues/11","id":278242365,"user":{"login":"ankushs92","id":7692552,"avatar_url":"https://avatars.githubusercontent.com/u/7692552?v=3","gravatar_id":"","url":"https://api.github.com/users/ankushs92","html_url":"https://github.com/ankushs92","followers_url":"https://api.github.com/users/ankushs92/followers","following_url":"https://api.github.com/users/ankushs92/following{/other_user}","gists_url":"https://api.github.com/users/ankushs92/gists{/gist_id}","starred_url":"https://api.github.com/users/ankushs92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankushs92/subscriptions","organizations_url":"https://api.github.com/users/ankushs92/orgs","repos_url":"https://api.github.com/users/ankushs92/repos","events_url":"https://api.github.com/users/ankushs92/events{/privacy}","received_events_url":"https://api.github.com/users/ankushs92/received_events","type":"User","site_admin":false},"created_at":"2017-02-08T06:39:32Z","updated_at":"2017-02-08T06:39:32Z","body":"finally did this : \r\n\r\n```java\r\nfinal GeoEntity geoEntity = client.lookup(ip);\r\nfinal String countryCode = geoEntity.getCountryCode();\r\nSystem.out.println(countryCode);\r\n```\r\n\r\nWhich , if the country is India, would print : `IN` "}}
{"actor":{"display_login":"ankushs92"}}