{"action":"opened","issue":{"url":"https://api.github.com/repos/python/the-knights-who-say-ni/issues/11","repository_url":"https://api.github.com/repos/python/the-knights-who-say-ni","labels_url":"https://api.github.com/repos/python/the-knights-who-say-ni/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/python/the-knights-who-say-ni/issues/11/comments","events_url":"https://api.github.com/repos/python/the-knights-who-say-ni/issues/11/events","html_url":"https://github.com/python/the-knights-who-say-ni/issues/11","id":145410407,"number":11,"title":"Replace os.environ['KEY'] with os.environ.get(KEY')","user":{"login":"ueg1990","id":3393794,"avatar_url":"https://avatars.githubusercontent.com/u/3393794?v=3","gravatar_id":"","url":"https://api.github.com/users/ueg1990","html_url":"https://github.com/ueg1990","followers_url":"https://api.github.com/users/ueg1990/followers","following_url":"https://api.github.com/users/ueg1990/following{/other_user}","gists_url":"https://api.github.com/users/ueg1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ueg1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ueg1990/subscriptions","organizations_url":"https://api.github.com/users/ueg1990/orgs","repos_url":"https://api.github.com/users/ueg1990/repos","events_url":"https://api.github.com/users/ueg1990/events{/privacy}","received_events_url":"https://api.github.com/users/ueg1990/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-02T19:49:20Z","updated_at":"2016-04-02T19:49:20Z","closed_at":null,"body":"To avoid/handle KeyError exceptions, maybe use os.environ.get and define a default value? "}}