1. Go to this page and download the library: Download apiip/apiip.net library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
apiip / apiip.net example snippets
use ApiipClient\Apiip;
$access_key = 'YOUR_ACCESS_KEY';
$client = new Apiip($access_key);
$details = $client->getLocation();
$details['city'];
Belgrade
use ApiipClient\Apiip;
$access_key = 'YOUR_ACCESS_KEY';
$client = new Apiip($access_key, ['ssl' => false]);