{"action":"created","issue":{"url":"https://api.github.com/repos/google/python-adb/issues/78","repository_url":"https://api.github.com/repos/google/python-adb","labels_url":"https://api.github.com/repos/google/python-adb/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/google/python-adb/issues/78/comments","events_url":"https://api.github.com/repos/google/python-adb/issues/78/events","html_url":"https://github.com/google/python-adb/pull/78","id":291896798,"number":78,"title":"Added a callback to show file transfer progress","user":{"login":"MohammadAG","id":1752369,"avatar_url":"https://avatars1.githubusercontent.com/u/1752369?v=4","gravatar_id":"","url":"https://api.github.com/users/MohammadAG","html_url":"https://github.com/MohammadAG","followers_url":"https://api.github.com/users/MohammadAG/followers","following_url":"https://api.github.com/users/MohammadAG/following{/other_user}","gists_url":"https://api.github.com/users/MohammadAG/gists{/gist_id}","starred_url":"https://api.github.com/users/MohammadAG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohammadAG/subscriptions","organizations_url":"https://api.github.com/users/MohammadAG/orgs","repos_url":"https://api.github.com/users/MohammadAG/repos","events_url":"https://api.github.com/users/MohammadAG/events{/privacy}","received_events_url":"https://api.github.com/users/MohammadAG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-26T13:10:20Z","updated_at":"2018-02-07T20:56:53Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/google/python-adb/pulls/78","html_url":"https://github.com/google/python-adb/pull/78","diff_url":"https://github.com/google/python-adb/pull/78.diff","patch_url":"https://github.com/google/python-adb/pull/78.patch"},"body":"An example callback that prints pushes similar to adb.c:\r\n\r\n```\r\ndef progress_cb(filename, bytes_written, total_bytes):\r\n    percent = \"{0:.2f}\".format(100 * (bytes_written / float(total_bytes)))\r\n    print('\\r[%s%%] %s' % (percent, filename), end='\\r')\r\n    if bytes_written == total_bytes:\r\n        print()\r\n```"},"comment":{"url":"https://api.github.com/repos/google/python-adb/issues/comments/363907847","html_url":"https://github.com/google/python-adb/pull/78#issuecomment-363907847","issue_url":"https://api.github.com/repos/google/python-adb/issues/78","id":363907847,"user":{"login":"fahhem","id":306100,"avatar_url":"https://avatars3.githubusercontent.com/u/306100?v=4","gravatar_id":"","url":"https://api.github.com/users/fahhem","html_url":"https://github.com/fahhem","followers_url":"https://api.github.com/users/fahhem/followers","following_url":"https://api.github.com/users/fahhem/following{/other_user}","gists_url":"https://api.github.com/users/fahhem/gists{/gist_id}","starred_url":"https://api.github.com/users/fahhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fahhem/subscriptions","organizations_url":"https://api.github.com/users/fahhem/orgs","repos_url":"https://api.github.com/users/fahhem/repos","events_url":"https://api.github.com/users/fahhem/events{/privacy}","received_events_url":"https://api.github.com/users/fahhem/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T20:56:53Z","updated_at":"2018-02-07T20:56:53Z","author_association":"COLLABORATOR","body":"Sorry about the delay! One last change, but if it's annoying I can merge as-is and make the change myself"}}
{"actor":{"display_login":"fahhem"}}