-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
438d3d8
commit c047e35
Showing
1 changed file
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
![image](https://github.com/user-attachments/assets/8bfc6a15-a2fa-4280-9601-33314cfa9d66) | ||
|
||
## Sumber Data | ||
Data statis (.json) di ambil dari https://idm.kemendesa.go.id/open/api/desa/rumusan/[kode_desa]/[tahun] | ||
Data statis (.json) diambil dari: | ||
[https://idm.kemendesa.go.id/open/api/desa/rumusan/[kode_desa]/[tahun]](https://idm.kemendesa.go.id/open/api/desa/rumusan/[kode_desa]/[tahun]) | ||
|
||
|
||
## Cara Menggunakan Generator | ||
|
||
1. **Tanpa argumen** (menggunakan `desa.csv` sebagai default): | ||
```bash | ||
cd generator | ||
node index.js | ||
2. **Dengan file CSV lain yang berada di folder data/** | ||
```bash | ||
cd generator | ||
node index.js [file_excel].csv | ||
``` | ||
|
||
2. **Dengan file CSV lain yang berada di folder `data/`**: | ||
```bash | ||
cd generator | ||
node index.js [file_excel].csv | ||
``` | ||
|
||
|
||
## Cara Menggunakan API | ||
```bash | ||
https://api-idm.vercel.app/api/desa/[kode_desa]/[tahun] | ||
Gunakan API dengan format berikut: | ||
[https://api-idm.vercel.app/api/desa/[kode_desa]/[tahun]](https://api-idm.vercel.app/api/desa/[kode_desa]/[tahun]) | ||
|
||
![image](https://github.com/user-attachments/assets/8bfc6a15-a2fa-4280-9601-33314cfa9d66) | ||
|
||
## Buy Me a Coffee | ||
<a href="https://www.buymeacoffee.com/gbraad" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important; width: 174px !important; box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important; -webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;"></a> |