https://github.com/feryardiant/id-nik
Indonesia NIK (Nomor Induk Kependudukan)
https://github.com/feryardiant/id-nik
Last synced: about 1 month ago
JSON representation
Indonesia NIK (Nomor Induk Kependudukan)
- Host: GitHub
- URL: https://github.com/feryardiant/id-nik
- Owner: feryardiant
- License: mit
- Archived: true
- Created: 2016-02-15T04:46:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-16T07:49:48.000Z (about 9 years ago)
- Last Synced: 2025-03-05T00:16:14.012Z (2 months ago)
- Language: PHP
- Size: 14.6 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Indonesia NIK (Nomor Induk Kependudukan)
[](LICENSE.md)
[](https://github.com/projek-xyz/id-nik/releases)## Install
Via [Composer](https://getcomposer.org/)
```bash
$ composer require projek-xyz/id-nik --prefer-dist
```## TO-DO
* [ ] Make it configuratble,
* [ ] write Documentation,
* [ ] Write Unit test,
* [ ] _Any idea? PR are very welcome_ :wink:## Demo
End-point: [idnik.projek.xyz?nik=](http://idnik.projek.xyz)
**Note**:
* You'll got `200 OK` with `{ name: 'Your Name', ... }` response if your nik is found.
* You'll got `500 Server error` with `{ message: }` response if some thing bad happen.
* You'll got `404 Not found` with `{ message: 'Not found' }` response if your nik is not found.
* You'll got `406 Not Acceptable` with `{ message: }` response if you:
* You're not access it via AJAX,
* Your `Accept` header doesn't have `application/json`,
* Don't have `?nik=` query string,
* `` lenght is not 16 characters,
* `` is not numeric,## Usage
**SOON**
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.
## Credits
- [KPU](http://data.kpu.go.id/ss8.php) for the data source.
## Disclaimer
- We send and parse each request to its source.
- We DON'T SERVE ANY response from its source.## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.