{"action":"created","comment":{"url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/comments/77427575","id":77427575,"diff_hunk":"@@ -1,2 +1,61 @@\n-# openbmp-python-api-message\n-Python Library for parsing OpenBMP Kafka messages\n+# OpenBMP API Message Python Library\n+\n+This library implements the OpenBMP message bus specification as defined at [MESSAGE_BUS_API.md](http://openbmp.org/#!docs/MESSAGE_BUS_API.md).\n+ \n+Messages from kafka (headers and content) are parsed and made available in ```Map``` and String/JSON.\n+> ### API supports Python 2.7\n+> ### Current Schema supported is 1.3\n+\n+## Usage\n+ \n+Use this library in any existing python project.\n+\n+### Code\n+\n+```python\n+from api import *\n+\n+raw_kafka_message_data = '...';\n+\n+msg = Message(raw_kafka_message_data)\n+\n+#Parse the content data by its type\n+peer = Peer(msg.getContent());","path":"README.md","position":25,"original_position":25,"commit_id":"d0e16a56519ea0a08f3b2b7d2e93f2f64d3999e9","original_commit_id":"d0e16a56519ea0a08f3b2b7d2e93f2f64d3999e9","user":{"login":"TimEvens","id":7909839,"avatar_url":"https://avatars.githubusercontent.com/u/7909839?v=3","gravatar_id":"","url":"https://api.github.com/users/TimEvens","html_url":"https://github.com/TimEvens","followers_url":"https://api.github.com/users/TimEvens/followers","following_url":"https://api.github.com/users/TimEvens/following{/other_user}","gists_url":"https://api.github.com/users/TimEvens/gists{/gist_id}","starred_url":"https://api.github.com/users/TimEvens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimEvens/subscriptions","organizations_url":"https://api.github.com/users/TimEvens/orgs","repos_url":"https://api.github.com/users/TimEvens/repos","events_url":"https://api.github.com/users/TimEvens/events{/privacy}","received_events_url":"https://api.github.com/users/TimEvens/received_events","type":"User","site_admin":false},"body":"Update to include version or just the message class object instead of msg.getContent().","created_at":"2016-09-03T00:34:52Z","updated_at":"2016-09-03T00:34:52Z","html_url":"https://github.com/OpenBMP/openbmp-python-api-message/pull/1#discussion_r77427575","pull_request_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/comments/77427575"},"html":{"href":"https://github.com/OpenBMP/openbmp-python-api-message/pull/1#discussion_r77427575"},"pull_request":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/1","id":83841993,"html_url":"https://github.com/OpenBMP/openbmp-python-api-message/pull/1","diff_url":"https://github.com/OpenBMP/openbmp-python-api-message/pull/1.diff","patch_url":"https://github.com/OpenBMP/openbmp-python-api-message/pull/1.patch","issue_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/issues/1","number":1,"state":"open","locked":false,"title":"Merge Request","user":{"login":"omerpalaz","id":9387805,"avatar_url":"https://avatars.githubusercontent.com/u/9387805?v=3","gravatar_id":"","url":"https://api.github.com/users/omerpalaz","html_url":"https://github.com/omerpalaz","followers_url":"https://api.github.com/users/omerpalaz/followers","following_url":"https://api.github.com/users/omerpalaz/following{/other_user}","gists_url":"https://api.github.com/users/omerpalaz/gists{/gist_id}","starred_url":"https://api.github.com/users/omerpalaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerpalaz/subscriptions","organizations_url":"https://api.github.com/users/omerpalaz/orgs","repos_url":"https://api.github.com/users/omerpalaz/repos","events_url":"https://api.github.com/users/omerpalaz/events{/privacy}","received_events_url":"https://api.github.com/users/omerpalaz/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-02T18:04:57Z","updated_at":"2016-09-03T00:34:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"371a6636719ea08561e4e6f2a6f9259f9b598692","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/1/commits","review_comments_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/1/comments","review_comment_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/issues/1/comments","statuses_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/statuses/d0e16a56519ea0a08f3b2b7d2e93f2f64d3999e9","head":{"label":"omerpalaz:master","ref":"master","sha":"d0e16a56519ea0a08f3b2b7d2e93f2f64d3999e9","user":{"login":"omerpalaz","id":9387805,"avatar_url":"https://avatars.githubusercontent.com/u/9387805?v=3","gravatar_id":"","url":"https://api.github.com/users/omerpalaz","html_url":"https://github.com/omerpalaz","followers_url":"https://api.github.com/users/omerpalaz/followers","following_url":"https://api.github.com/users/omerpalaz/following{/other_user}","gists_url":"https://api.github.com/users/omerpalaz/gists{/gist_id}","starred_url":"https://api.github.com/users/omerpalaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerpalaz/subscriptions","organizations_url":"https://api.github.com/users/omerpalaz/orgs","repos_url":"https://api.github.com/users/omerpalaz/repos","events_url":"https://api.github.com/users/omerpalaz/events{/privacy}","received_events_url":"https://api.github.com/users/omerpalaz/received_events","type":"User","site_admin":false},"repo":{"id":66310627,"name":"openbmp-python-api-message","full_name":"omerpalaz/openbmp-python-api-message","owner":{"login":"omerpalaz","id":9387805,"avatar_url":"https://avatars.githubusercontent.com/u/9387805?v=3","gravatar_id":"","url":"https://api.github.com/users/omerpalaz","html_url":"https://github.com/omerpalaz","followers_url":"https://api.github.com/users/omerpalaz/followers","following_url":"https://api.github.com/users/omerpalaz/following{/other_user}","gists_url":"https://api.github.com/users/omerpalaz/gists{/gist_id}","starred_url":"https://api.github.com/users/omerpalaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerpalaz/subscriptions","organizations_url":"https://api.github.com/users/omerpalaz/orgs","repos_url":"https://api.github.com/users/omerpalaz/repos","events_url":"https://api.github.com/users/omerpalaz/events{/privacy}","received_events_url":"https://api.github.com/users/omerpalaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/omerpalaz/openbmp-python-api-message","description":"Python Library for parsing OpenBMP Kafka messages","fork":true,"url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message","forks_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/forks","keys_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/teams","hooks_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/hooks","issue_events_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/issues/events{/number}","events_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/events","assignees_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/assignees{/user}","branches_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/branches{/branch}","tags_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/tags","blobs_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/git/refs{/sha}","trees_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/statuses/{sha}","languages_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/languages","stargazers_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/stargazers","contributors_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/contributors","subscribers_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/subscribers","subscription_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/subscription","commits_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/commits{/sha}","git_commits_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/git/commits{/sha}","comments_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/comments{/number}","issue_comment_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/issues/comments{/number}","contents_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/contents/{+path}","compare_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/merges","archive_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/downloads","issues_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/issues{/number}","pulls_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/pulls{/number}","milestones_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/milestones{/number}","notifications_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/labels{/name}","releases_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/releases{/id}","deployments_url":"https://api.github.com/repos/omerpalaz/openbmp-python-api-message/deployments","created_at":"2016-08-22T21:48:59Z","updated_at":"2016-08-25T04:55:30Z","pushed_at":"2016-09-02T00:02:12Z","git_url":"git://github.com/omerpalaz/openbmp-python-api-message.git","ssh_url":"git@github.com:omerpalaz/openbmp-python-api-message.git","clone_url":"https://github.com/omerpalaz/openbmp-python-api-message.git","svn_url":"https://github.com/omerpalaz/openbmp-python-api-message","homepage":null,"size":32,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenBMP:master","ref":"master","sha":"f3a707046e650a597e16c24c17fb9df7dd054c20","user":{"login":"OpenBMP","id":7909856,"avatar_url":"https://avatars.githubusercontent.com/u/7909856?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBMP","html_url":"https://github.com/OpenBMP","followers_url":"https://api.github.com/users/OpenBMP/followers","following_url":"https://api.github.com/users/OpenBMP/following{/other_user}","gists_url":"https://api.github.com/users/OpenBMP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBMP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBMP/subscriptions","organizations_url":"https://api.github.com/users/OpenBMP/orgs","repos_url":"https://api.github.com/users/OpenBMP/repos","events_url":"https://api.github.com/users/OpenBMP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBMP/received_events","type":"Organization","site_admin":false},"repo":{"id":66306668,"name":"openbmp-python-api-message","full_name":"OpenBMP/openbmp-python-api-message","owner":{"login":"OpenBMP","id":7909856,"avatar_url":"https://avatars.githubusercontent.com/u/7909856?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBMP","html_url":"https://github.com/OpenBMP","followers_url":"https://api.github.com/users/OpenBMP/followers","following_url":"https://api.github.com/users/OpenBMP/following{/other_user}","gists_url":"https://api.github.com/users/OpenBMP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBMP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBMP/subscriptions","organizations_url":"https://api.github.com/users/OpenBMP/orgs","repos_url":"https://api.github.com/users/OpenBMP/repos","events_url":"https://api.github.com/users/OpenBMP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBMP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenBMP/openbmp-python-api-message","description":"Python Library for parsing OpenBMP Kafka messages","fork":false,"url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message","forks_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/forks","keys_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/teams","hooks_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/hooks","issue_events_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/issues/events{/number}","events_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/events","assignees_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/assignees{/user}","branches_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/branches{/branch}","tags_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/tags","blobs_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/languages","stargazers_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/stargazers","contributors_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/contributors","subscribers_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/subscribers","subscription_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/subscription","commits_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/contents/{+path}","compare_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/merges","archive_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/downloads","issues_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/issues{/number}","pulls_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/labels{/name}","releases_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/releases{/id}","deployments_url":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/deployments","created_at":"2016-08-22T20:44:17Z","updated_at":"2016-08-22T20:44:17Z","pushed_at":"2016-09-02T18:04:57Z","git_url":"git://github.com/OpenBMP/openbmp-python-api-message.git","ssh_url":"git@github.com:OpenBMP/openbmp-python-api-message.git","clone_url":"https://github.com/OpenBMP/openbmp-python-api-message.git","svn_url":"https://github.com/OpenBMP/openbmp-python-api-message","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/1"},"html":{"href":"https://github.com/OpenBMP/openbmp-python-api-message/pull/1"},"issue":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/issues/1"},"comments":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/OpenBMP/openbmp-python-api-message/statuses/d0e16a56519ea0a08f3b2b7d2e93f2f64d3999e9"}}}}
{"actor":{"display_login":"TimEvens"}}