{"action":"created","issue":{"url":"https://api.github.com/repos/scrapinghub/shub/issues/66","labels_url":"https://api.github.com/repos/scrapinghub/shub/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/scrapinghub/shub/issues/66/comments","events_url":"https://api.github.com/repos/scrapinghub/shub/issues/66/events","html_url":"https://github.com/scrapinghub/shub/pull/66","id":120267123,"number":66,"title":"added schedule and items commands","user":{"login":"stummjr","id":1170435,"avatar_url":"https://avatars.githubusercontent.com/u/1170435?v=3","gravatar_id":"","url":"https://api.github.com/users/stummjr","html_url":"https://github.com/stummjr","followers_url":"https://api.github.com/users/stummjr/followers","following_url":"https://api.github.com/users/stummjr/following{/other_user}","gists_url":"https://api.github.com/users/stummjr/gists{/gist_id}","starred_url":"https://api.github.com/users/stummjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stummjr/subscriptions","organizations_url":"https://api.github.com/users/stummjr/orgs","repos_url":"https://api.github.com/users/stummjr/repos","events_url":"https://api.github.com/users/stummjr/events{/privacy}","received_events_url":"https://api.github.com/users/stummjr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T20:50:28Z","updated_at":"2015-12-04T16:53:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scrapinghub/shub/pulls/66","html_url":"https://github.com/scrapinghub/shub/pull/66","diff_url":"https://github.com/scrapinghub/shub/pull/66.diff","patch_url":"https://github.com/scrapinghub/shub/pull/66.patch"},"body":"The `shub schedule` and `shub items` commands were added. Here is how they work:\r\n\r\n#### shub schedule\r\nSchedule a spider for execution. Example:\r\n```\r\n$ #scheduling 'my_spider' for project 26736\r\n$ shub schedule my_spider -p 26736\r\n\r\n$ #scheduling 'my_spyder' for project defined in scrapy.cfg\r\n$ shub schedule my_spider\r\n\r\n$ #passing arguments to the spider\r\n$ shub schedule my_spider -p 26736 -a arg1=foo arg2=bar\r\n```\r\n\r\n#### shub items\r\nFetch items from a given job. Example:\r\n```\r\n$ #getting the items scraped by job 26736/2/71\r\n$ shub items 26736/2/71\r\n```"},"comment":{"url":"https://api.github.com/repos/scrapinghub/shub/issues/comments/162019334","html_url":"https://github.com/scrapinghub/shub/pull/66#issuecomment-162019334","issue_url":"https://api.github.com/repos/scrapinghub/shub/issues/66","id":162019334,"user":{"login":"eliasdorneles","id":37565,"avatar_url":"https://avatars.githubusercontent.com/u/37565?v=3","gravatar_id":"","url":"https://api.github.com/users/eliasdorneles","html_url":"https://github.com/eliasdorneles","followers_url":"https://api.github.com/users/eliasdorneles/followers","following_url":"https://api.github.com/users/eliasdorneles/following{/other_user}","gists_url":"https://api.github.com/users/eliasdorneles/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasdorneles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasdorneles/subscriptions","organizations_url":"https://api.github.com/users/eliasdorneles/orgs","repos_url":"https://api.github.com/users/eliasdorneles/repos","events_url":"https://api.github.com/users/eliasdorneles/events{/privacy}","received_events_url":"https://api.github.com/users/eliasdorneles/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T16:53:11Z","updated_at":"2015-12-04T16:53:11Z","body":"Nice work, @stummjr !\r\nI added a bit to the nitpicking, but this looks good, well done! :)"}}