Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.

Commit

Permalink
使い方を書いた
Browse files Browse the repository at this point in the history
やっぱりpipenvのscriptsは戻した
  • Loading branch information
Matsui Masashi committed Mar 20, 2020
1 parent 0d17341 commit 4f7df24
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[scripts]
main = "python src/main.py"

[dev-packages]

[packages]
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ get niigata covid19 data
## Usage

```
$ pipenv run main
# 全てのデータを県のサイトから取ってくる
$ pipenv run main scrape all
# 患者数だけ県のサイトから取ってくる
$ pipenv run main scrape patients
# 検査数だけ県のサイトから取ってくる
$ pipenv run main scrape inspections
# 相談数だけ県のサイトから取ってくる
$ pipenv run main scrape querents
# Google SpreadSheetからdata.jsonを生成する
$ pipenv run main convert
```

## Install
Expand Down

0 comments on commit 4f7df24

Please sign in to comment.