{"action":"created","issue":{"url":"https://api.github.com/repos/marthinsen/stravaupload/issues/3","repository_url":"https://api.github.com/repos/marthinsen/stravaupload","labels_url":"https://api.github.com/repos/marthinsen/stravaupload/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/marthinsen/stravaupload/issues/3/comments","events_url":"https://api.github.com/repos/marthinsen/stravaupload/issues/3/events","html_url":"https://github.com/marthinsen/stravaupload/pull/3","id":141716598,"number":3,"title":"Bulk upload","user":{"login":"hugovk","id":1324225,"avatar_url":"https://avatars.githubusercontent.com/u/1324225?v=3","gravatar_id":"","url":"https://api.github.com/users/hugovk","html_url":"https://github.com/hugovk","followers_url":"https://api.github.com/users/hugovk/followers","following_url":"https://api.github.com/users/hugovk/following{/other_user}","gists_url":"https://api.github.com/users/hugovk/gists{/gist_id}","starred_url":"https://api.github.com/users/hugovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugovk/subscriptions","organizations_url":"https://api.github.com/users/hugovk/orgs","repos_url":"https://api.github.com/users/hugovk/repos","events_url":"https://api.github.com/users/hugovk/events{/privacy}","received_events_url":"https://api.github.com/users/hugovk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-17T21:52:19Z","updated_at":"2016-03-18T13:13:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/marthinsen/stravaupload/pulls/3","html_url":"https://github.com/marthinsen/stravaupload/pull/3","diff_url":"https://github.com/marthinsen/stravaupload/pull/3.diff","patch_url":"https://github.com/marthinsen/stravaupload/pull/3.patch"},"body":" * Includes PR #2, includes PR #1.\r\n * If input is a single file, upload it.\r\n * Otherwise assume it's a file pattern (e.g. *.gpx), and upload them one by one.\r\n * If no files found, exit with an error.\r\n * Also add a `--test` mode that doesn't actually upload, like a dry run."},"comment":{"url":"https://api.github.com/repos/marthinsen/stravaupload/issues/comments/198349269","html_url":"https://github.com/marthinsen/stravaupload/pull/3#issuecomment-198349269","issue_url":"https://api.github.com/repos/marthinsen/stravaupload/issues/3","id":198349269,"user":{"login":"marthinsen","id":750460,"avatar_url":"https://avatars.githubusercontent.com/u/750460?v=3","gravatar_id":"","url":"https://api.github.com/users/marthinsen","html_url":"https://github.com/marthinsen","followers_url":"https://api.github.com/users/marthinsen/followers","following_url":"https://api.github.com/users/marthinsen/following{/other_user}","gists_url":"https://api.github.com/users/marthinsen/gists{/gist_id}","starred_url":"https://api.github.com/users/marthinsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marthinsen/subscriptions","organizations_url":"https://api.github.com/users/marthinsen/orgs","repos_url":"https://api.github.com/users/marthinsen/repos","events_url":"https://api.github.com/users/marthinsen/events{/privacy}","received_events_url":"https://api.github.com/users/marthinsen/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T13:13:18Z","updated_at":"2016-03-18T13:13:18Z","body":"I'm honoured someone is using what I've thrown together and very grateful\nfor the contribution. I'll look at it when I have time, but I'm sure it's\ngreat.\n\nDen tor. 17. mar. 2016, 22.52 skrev Hugo <notifications@github.com>:\n\n>\n>    - Includes PR #2 <https://github.com/marthinsen/stravaupload/pull/2>,\n>    includes PR #1 <https://github.com/marthinsen/stravaupload/pull/1>.\n>    - If input is a single file, upload it.\n>    - Otherwise assume it's a file pattern (e.g. *.gpx), and upload them\n>    one by one.\n>    - If no files found, exit with an error.\n>    - Also add a --test mode that doesn't actually upload, like a dry run.\n>\n> ------------------------------\n> You can view, comment on, or merge this pull request online at:\n>\n>   https://github.com/marthinsen/stravaupload/pull/3\n> Commit Summary\n>\n>    - Support fit, fit.gz, tcx, tcx.gz, gpx, gpx.gz\n>    - Minor things\n>    - Add description parameter\n>    - Extract name and description from the file\n>    - flake8\n>    - Remove redundant lines\n>    - Refactor some main code into upload_file() function\n>    - Possible to upload many files matching pattern\n>    - Add test mode\n>\n> File Changes\n>\n>    - *M* .gitignore\n>    <https://github.com/marthinsen/stravaupload/pull/3/files#diff-0> (4)\n>    - *M* README.md\n>    <https://github.com/marthinsen/stravaupload/pull/3/files#diff-1> (13)\n>    - *M* setup.py\n>    <https://github.com/marthinsen/stravaupload/pull/3/files#diff-2> (2)\n>    - *M* stravaupload.py\n>    <https://github.com/marthinsen/stravaupload/pull/3/files#diff-3> (165)\n>\n> Patch Links:\n>\n>    - https://github.com/marthinsen/stravaupload/pull/3.patch\n>    - https://github.com/marthinsen/stravaupload/pull/3.diff\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/marthinsen/stravaupload/pull/3>\n>\n"}}