An open API service indexing awesome lists of open source software.

https://github.com/feri-irawan/id-regions-api

API for Indonesian regions and postal codes
https://github.com/feri-irawan/id-regions-api

api indonesia open-source postalcodes regions zipcodes

Last synced: 8 months ago
JSON representation

API for Indonesian regions and postal codes

Awesome Lists containing this project

README

          

# id-regions-api

API for Indonesian regions. Using data from [Api Wilayah Indonesia](https://github.com/bukanekosoed/Api-Wilayah-Indonesia).

## Endpoints

- `GET /provinces` - Get all provinces
- `GET /regencies/:provinceCode` - Get regencies by province code
- `GET /districts/:regencyCode` - Get districts by regency code
- `GET /villages/:districtCode` - Get villages by district code
- `GET /postalcode/:villageCode` - Get postal code by village code

## Contributing

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request