summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2023-10-22 21:10:04 +0200
committerYuval Adam <_@yuv.al>2023-10-22 21:10:04 +0200
commit26f746ae0b6285f3584c4dd571ae9c0da49bd062 (patch)
treeec9d43ee141daf81ad47006d3a08bcbc90637d88
parent8f72a27b0804eecd60043a322dbbc766491b6d78 (diff)
Rename build to fetch
-rw-r--r--Pipfile1
-rw-r--r--README.md6
-rw-r--r--pakarlib/fetch.py (renamed from pakarlib/build.py)0
3 files changed, 7 insertions, 0 deletions
diff --git a/Pipfile b/Pipfile
index da0e66b..87a5e38 100644
--- a/Pipfile
+++ b/Pipfile
@@ -9,4 +9,5 @@ requests = "*"
[dev-packages]
[scripts]
+fetch = "python pakarlib/fetch.py"
build = "python pakarlib/build.py"
diff --git a/README.md b/README.md
index 6246f0e..e39d59c 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,12 @@ Unified data for Pikud Ha'Oref. All data is versioned, but you can run the build
$ pipenv run build
```
+Or fetch all files:
+
+```bash
+$ pipenv run fetch
+```
+
Currently supports:
- Fetching cities and districts metadata in 4 languages (he, ar, en, ru) from Pikud Ha'Oref unofficial ajax APIs
diff --git a/pakarlib/build.py b/pakarlib/fetch.py
index 3f9336b..3f9336b 100644
--- a/pakarlib/build.py
+++ b/pakarlib/fetch.py