{"action":"opened","issue":{"url":"https://api.github.com/repos/hrtcrw/pytrainrpg/issues/9","labels_url":"https://api.github.com/repos/hrtcrw/pytrainrpg/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/hrtcrw/pytrainrpg/issues/9/comments","events_url":"https://api.github.com/repos/hrtcrw/pytrainrpg/issues/9/events","html_url":"https://github.com/hrtcrw/pytrainrpg/issues/9","id":89886470,"number":9,"title":"Wrap call to .get() in __getattr__","user":{"login":"hrtcrw","id":238992,"avatar_url":"https://avatars.githubusercontent.com/u/238992?v=3","gravatar_id":"","url":"https://api.github.com/users/hrtcrw","html_url":"https://github.com/hrtcrw","followers_url":"https://api.github.com/users/hrtcrw/followers","following_url":"https://api.github.com/users/hrtcrw/following{/other_user}","gists_url":"https://api.github.com/users/hrtcrw/gists{/gist_id}","starred_url":"https://api.github.com/users/hrtcrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrtcrw/subscriptions","organizations_url":"https://api.github.com/users/hrtcrw/orgs","repos_url":"https://api.github.com/users/hrtcrw/repos","events_url":"https://api.github.com/users/hrtcrw/events{/privacy}","received_events_url":"https://api.github.com/users/hrtcrw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-21T09:02:07Z","updated_at":"2015-06-21T09:02:07Z","closed_at":null,"body":"Right now we do this:\r\n    e.attacker.get('items')[itemId]\r\nwhich is obviously stupid when we could just write:\r\n    e.attacker.items[itemId]\r\n\r\nThis should just become a part of the ````__getattr```` method."}}