{"action":"created","issue":{"url":"https://api.github.com/repos/CodeforKarlsruhe/trinkwasser-scraper/issues/2","repository_url":"https://api.github.com/repos/CodeforKarlsruhe/trinkwasser-scraper","labels_url":"https://api.github.com/repos/CodeforKarlsruhe/trinkwasser-scraper/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/CodeforKarlsruhe/trinkwasser-scraper/issues/2/comments","events_url":"https://api.github.com/repos/CodeforKarlsruhe/trinkwasser-scraper/issues/2/events","html_url":"https://github.com/CodeforKarlsruhe/trinkwasser-scraper/issues/2","id":134926979,"number":2,"title":"agument parsing","user":{"login":"MartinThoma","id":1658117,"avatar_url":"https://avatars.githubusercontent.com/u/1658117?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinThoma","html_url":"https://github.com/MartinThoma","followers_url":"https://api.github.com/users/MartinThoma/followers","following_url":"https://api.github.com/users/MartinThoma/following{/other_user}","gists_url":"https://api.github.com/users/MartinThoma/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinThoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinThoma/subscriptions","organizations_url":"https://api.github.com/users/MartinThoma/orgs","repos_url":"https://api.github.com/users/MartinThoma/repos","events_url":"https://api.github.com/users/MartinThoma/events{/privacy}","received_events_url":"https://api.github.com/users/MartinThoma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-19T17:38:35Z","updated_at":"2016-02-19T17:44:48Z","closed_at":null,"body":"I recommend using `argparse` for argument parsing. See https://martin-thoma.com/how-to-parse-command-line-arguments-in-python/#tocAnchor-1-1-5 for an example."},"comment":{"url":"https://api.github.com/repos/CodeforKarlsruhe/trinkwasser-scraper/issues/comments/186325601","html_url":"https://github.com/CodeforKarlsruhe/trinkwasser-scraper/issues/2#issuecomment-186325601","issue_url":"https://api.github.com/repos/CodeforKarlsruhe/trinkwasser-scraper/issues/2","id":186325601,"user":{"login":"MartinThoma","id":1658117,"avatar_url":"https://avatars.githubusercontent.com/u/1658117?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinThoma","html_url":"https://github.com/MartinThoma","followers_url":"https://api.github.com/users/MartinThoma/followers","following_url":"https://api.github.com/users/MartinThoma/following{/other_user}","gists_url":"https://api.github.com/users/MartinThoma/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinThoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinThoma/subscriptions","organizations_url":"https://api.github.com/users/MartinThoma/orgs","repos_url":"https://api.github.com/users/MartinThoma/repos","events_url":"https://api.github.com/users/MartinThoma/events{/privacy}","received_events_url":"https://api.github.com/users/MartinThoma/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T17:44:48Z","updated_at":"2016-02-19T17:44:48Z","body":"One reason to use `argparse` is that it makes the source code easier to read. Another reason for using `argparse` is that it automatically adds `--help` and thus gives a clue how to use your scraper without having to read / understand the code."}}