Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andifahruddinakas authored Oct 24, 2024
1 parent 438d3d8 commit c047e35
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions README.md
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>

0 comments on commit c047e35

Please sign in to comment.