Skip to content

hextech24/GeoIP-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoIP-API

Revplit provides free usage of its Geo IP API through multiple response formats. We support IPv4 and IPv6.

Usage limits

Our system will automatically ban any IP addresses doing over 150 requests per minute. To unban your IP you'll have to sent a email to revplit.service@gmail.com

You are free to use our API for non-commercial and commercial use.

Response formats

PHP https://revplit.com/pages/api/php-response.php

JSON https://revplit.com/pages/api/json-response.php

CSV https://revplit.com/pages/api/csv-response.php

Code sample

<?php

$result = "";

if(isset($_POST['sub'])) { 

  $ip = $_POST['ip']; 
  
  if(!empty($_POST['ip'])) { 
  
    $result = @file_get_contents("https://api.revplit.com/geo/all.php?ip=".$ip); 
    
  } else { 
   
       $result = "No IP filled in"; 
       
    } 
    
   } 

?>

<form method="POST"> <p>IP:</p> <input type="text" name="ip" placeholder="127.0.0" />

<input type="submit" value="Submit" name="sub"/> </form>

<?php echo $result; ?>

Support

If you've any questions you can ask them in our discord server https://discord.gg/BZfPMxe

About

Revplit provides free usage of its Geo IP API through multiple response formats. We support IPv4 and IPv6.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%