{"action":"created","issue":{"url":"https://api.github.com/repos/alexrabarts/iso_country_codes/issues/28","labels_url":"https://api.github.com/repos/alexrabarts/iso_country_codes/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/alexrabarts/iso_country_codes/issues/28/comments","events_url":"https://api.github.com/repos/alexrabarts/iso_country_codes/issues/28/events","html_url":"https://github.com/alexrabarts/iso_country_codes/issues/28","id":104594917,"number":28,"title":"USA/US/United States","user":{"login":"paulmars","id":8290,"avatar_url":"https://avatars.githubusercontent.com/u/8290?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmars","html_url":"https://github.com/paulmars","followers_url":"https://api.github.com/users/paulmars/followers","following_url":"https://api.github.com/users/paulmars/following{/other_user}","gists_url":"https://api.github.com/users/paulmars/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmars/subscriptions","organizations_url":"https://api.github.com/users/paulmars/orgs","repos_url":"https://api.github.com/users/paulmars/repos","events_url":"https://api.github.com/users/paulmars/events{/privacy}","received_events_url":"https://api.github.com/users/paulmars/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-03T00:02:55Z","updated_at":"2015-09-05T16:42:19Z","closed_at":null,"body":"IsoCountryCodes.search_by_name(\"USA\") -> nothing\r\nIsoCountryCodes.search_by_name(\"US\") -> bunch of things, not US\r\n\r\nIsoCountryCodes.search_by_name(\"United states\") -> works! :)\r\n\r\nMaybe exactly as designed. Would you like a PR?"},"comment":{"url":"https://api.github.com/repos/alexrabarts/iso_country_codes/issues/comments/137973277","html_url":"https://github.com/alexrabarts/iso_country_codes/issues/28#issuecomment-137973277","issue_url":"https://api.github.com/repos/alexrabarts/iso_country_codes/issues/28","id":137973277,"user":{"login":"greysteil","id":1144873,"avatar_url":"https://avatars.githubusercontent.com/u/1144873?v=3","gravatar_id":"","url":"https://api.github.com/users/greysteil","html_url":"https://github.com/greysteil","followers_url":"https://api.github.com/users/greysteil/followers","following_url":"https://api.github.com/users/greysteil/following{/other_user}","gists_url":"https://api.github.com/users/greysteil/gists{/gist_id}","starred_url":"https://api.github.com/users/greysteil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greysteil/subscriptions","organizations_url":"https://api.github.com/users/greysteil/orgs","repos_url":"https://api.github.com/users/greysteil/repos","events_url":"https://api.github.com/users/greysteil/events{/privacy}","received_events_url":"https://api.github.com/users/greysteil/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T16:42:19Z","updated_at":"2015-09-05T16:42:19Z","body":"Thanks for flagging this @paulmars. I'm agnostic on this one - on the one hand I like the simplicity of the current approach, on the other I can see it falls down for countries with alias names. Happy to accept a PR if it keeps things relatively simple, but I wouldn't consider this a bug."}}