Skip to content

Ready to use API provider for address options in Indonesian format

License

Notifications You must be signed in to change notification settings

drosanda/address-id-api

Repository files navigation

API Address Provider (ID)

With

Ready to use API provider for address options in Indonesian format. Created from Seme Framework version 4.

Version

Here is the version log:

  • 1.0.0 First Release

Get started

Start consuming the API by reading the alamat.thecloudalert.com

Instalation

Clone this repository git clone https://github.com/drosanda/address-id-api.git alamat

Importing database

Importing database from sql/tca_alamat.sql

Configuration

For setup your site please create and adjust following files:

  • app/config/config.php
<?php
$site = "http://".$_SERVER['HTTP_HOST']."/alamat/";
$sene_method = "PATH_INFO";//REQUEST_URI,PATH_INFO,ORIG_PATH_INFO,
  • app/config/database.php
<?php
$db['host']  = "localhost";
$db['user']  = "root";
$db['pass']  = "";
$db['name']  = "tca_alamat";
$db['engine']= "mysqli"; //available mysql,mysqli,pdo

How to use

To use the API, you can open postman.json on this project directory using Postman.

Data Source

Address and Location data obtained from bachors.

License

Licensed under MIT License 2.0