{"action":"created","issue":{"url":"https://api.github.com/repos/alastair/python-musicbrainzngs/issues/168","labels_url":"https://api.github.com/repos/alastair/python-musicbrainzngs/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/alastair/python-musicbrainzngs/issues/168/comments","events_url":"https://api.github.com/repos/alastair/python-musicbrainzngs/issues/168/events","html_url":"https://github.com/alastair/python-musicbrainzngs/pull/168","id":85576467,"number":168,"title":"Add support for the Events entity","user":{"login":"dufferzafar","id":1449512,"avatar_url":"https://avatars.githubusercontent.com/u/1449512?v=3","gravatar_id":"","url":"https://api.github.com/users/dufferzafar","html_url":"https://github.com/dufferzafar","followers_url":"https://api.github.com/users/dufferzafar/followers","following_url":"https://api.github.com/users/dufferzafar/following{/other_user}","gists_url":"https://api.github.com/users/dufferzafar/gists{/gist_id}","starred_url":"https://api.github.com/users/dufferzafar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dufferzafar/subscriptions","organizations_url":"https://api.github.com/users/dufferzafar/orgs","repos_url":"https://api.github.com/users/dufferzafar/repos","events_url":"https://api.github.com/users/dufferzafar/events{/privacy}","received_events_url":"https://api.github.com/users/dufferzafar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alastair/python-musicbrainzngs/labels/new%20feature","name":"new feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/alastair/python-musicbrainzngs/milestones/7","html_url":"https://github.com/alastair/python-musicbrainzngs/milestones/0.6","labels_url":"https://api.github.com/repos/alastair/python-musicbrainzngs/milestones/7/labels","id":561032,"number":7,"title":"0.6","description":"","creator":{"login":"alastair","id":19217,"avatar_url":"https://avatars.githubusercontent.com/u/19217?v=3","gravatar_id":"","url":"https://api.github.com/users/alastair","html_url":"https://github.com/alastair","followers_url":"https://api.github.com/users/alastair/followers","following_url":"https://api.github.com/users/alastair/following{/other_user}","gists_url":"https://api.github.com/users/alastair/gists{/gist_id}","starred_url":"https://api.github.com/users/alastair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alastair/subscriptions","organizations_url":"https://api.github.com/users/alastair/orgs","repos_url":"https://api.github.com/users/alastair/repos","events_url":"https://api.github.com/users/alastair/events{/privacy}","received_events_url":"https://api.github.com/users/alastair/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":27,"state":"open","created_at":"2014-02-06T15:20:36Z","updated_at":"2015-06-11T17:40:34Z","due_on":"2014-02-28T08:00:00Z","closed_at":null},"comments":6,"created_at":"2015-06-05T16:36:26Z","updated_at":"2015-06-12T09:37:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alastair/python-musicbrainzngs/pulls/168","html_url":"https://github.com/alastair/python-musicbrainzngs/pull/168","diff_url":"https://github.com/alastair/python-musicbrainzngs/pull/168.diff","patch_url":"https://github.com/alastair/python-musicbrainzngs/pull/168.patch"},"body":"This is a work in progress. \r\n\r\nI'm just looking at older commits to see what changes need to be made for adding a new entity, and working my way through.\r\n\r\nCurrently, this is working: \r\n`m.get_event_by_id(\"a4a0927c-8ad7-48dd-883c-7126cc0b9c6b\", [])`\r\n\r\n~~I'll add some tests too.~~"},"comment":{"url":"https://api.github.com/repos/alastair/python-musicbrainzngs/issues/comments/111429682","html_url":"https://github.com/alastair/python-musicbrainzngs/pull/168#issuecomment-111429682","issue_url":"https://api.github.com/repos/alastair/python-musicbrainzngs/issues/168","id":111429682,"user":{"login":"dufferzafar","id":1449512,"avatar_url":"https://avatars.githubusercontent.com/u/1449512?v=3","gravatar_id":"","url":"https://api.github.com/users/dufferzafar","html_url":"https://github.com/dufferzafar","followers_url":"https://api.github.com/users/dufferzafar/followers","following_url":"https://api.github.com/users/dufferzafar/following{/other_user}","gists_url":"https://api.github.com/users/dufferzafar/gists{/gist_id}","starred_url":"https://api.github.com/users/dufferzafar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dufferzafar/subscriptions","organizations_url":"https://api.github.com/users/dufferzafar/orgs","repos_url":"https://api.github.com/users/dufferzafar/repos","events_url":"https://api.github.com/users/dufferzafar/events{/privacy}","received_events_url":"https://api.github.com/users/dufferzafar/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T09:37:14Z","updated_at":"2015-06-12T09:37:14Z","body":"@JonnyJD I've removed the newlines from the XML then, and added the autofunction entries but I'm not sure how to document the keys of the event dict.\r\n\r\nSomething like?\r\n```\r\n    The event dict has the following keys: `id`, `type`, `name`, `time`, `disambiguation`, a `life-span` dict with `begin` and `end` keys.\r\n```"}}