Releases: ghostzali-lib/area-indonesia
Releases · ghostzali-lib/area-indonesia
1.0
First release... yeah!!!
Restful API | Service-based | Produce standalone API service with JSON.
Database updated at Oct 16, 2016 { Provinsi, Kota/Kabupaten, Kecamatan, dan Kelurahan/Desa }
Data ini diambil dari situs Pemutakhiran MFD dan MBS Badan Pusat Statistik pada 16 Oktober 2016. Wilayah Administratif Indonesia @ Github.com | Apr 27, 2017
Features :
A. Generally
- Search (
/search?keyword=<your keyword>
)
B. Provinces
- List all (
/province/all
) - Select with code (
/province/one?code=<province code>
) - Search in provinces (
/province/search?keyword=<your keyword>
)
C. Regencies
- List all (
/regency/all
) - Select with code (
/regency/one?code=<regency code>
) - Search in regencies (
/regency/search?keyword=<your keyword>
) - List in specific province (
/regency/parent?code=<province code>
)
D. Districts
- List all (
/district/all
) - Select with code (
/district/one?code=<district code>
) - Search in districts (
/district/search?keyword=<your keyword>
) - List in specific regency (
/district/parent?code=<regency code>
)
E. Villages
- List all (
/village/all
) - Select with code (
/village/one?code=<village code>
) - Search in villages (
/village/search?keyword=<your keyword>
) - List in specific district (
/village/parent?code=<district code>
)
Installations
Using Gradle
Build $ gradle build
and then $ java -jar build/libs/area-indonesia-1.0.jar
or run directly using spring boot plugin $ gradle bootRun
Using Docker
Build $ docker build -t area-indonesia:1.0 .
and then $ docker start area-indonesia:1.0