Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 129 | All time: 9,370 This week: 455 |
Version | License | PHP version | Categories | |||
getipbyisp 1.0 | The PHP License | 7 | Networking, PHP 5, Web services |
Description | Author | |||||||||||||||||||||||
This class can get IP address ranges using suip.biz Web service. Innovation Award
|
|
Simple cURL based console application for getting IP ranges from https://suip.biz suip.biz web-services by city, country (very big size!! i'm really afraid) or ISP. In case of ISP you may specify single ip or web-site url of that provider as argument of script.
composer require himei/get-ip-by-isp
git clone https://github.com/hlmel/getIpbyIsp.git
Follow to the root programm folder:
cd getIpbyIsp
composer install
Now follow to the src directory in root program folder:
cd src
Make main program file executable:
chmod +x getipbyisp.php
Now use it.
Type next in your console for getting help:
./getipbyisp.php -h
or
./getipbyisp.php --help
The output:
Console application for getting IP ranges
from suip.biz web-services by city, country or ISP
Usage:
getipbyisp.php [options] type request
Options:
-o output, --output=output File to store the result
-h, --help Show this help message and exit
Arguments:
type Set the type of which IP ranges will be requested: city, counrty or isp
request Request string: for country - 2-letter country code, for city - its name, for ISP - single IP or ISP's url
To get all IP ranges of Serbia
./getipbyisp.php country RS
To get all IP ranges of London and save it to file.txt
./getipbyisp.php city london -o file.txt
To get all IP ranges of Beeline ISP
./getipbyisp.php isp beeline.ru
or
./getipbyisp.php isp 217.118.85.19
Warning!!! In case of request by city, write the name of the city carefully and accurately, as much as possible. If an error occurs in the name, the search on the uncleaned database is activated, and the result includes ALL IP ranges from all possible variants. To get the most accurate result, the city name must not contain errors.
For bug reports or any other purpose you may contact me via email [himei at tuta dot io].
Files (10) |
File | Role | Description | ||
---|---|---|---|---|
src (3 files) | ||||
tests (1 file) | ||||
CHANGELOG.md | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpdox.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (10) | / | src |
File | Role | Description |
---|---|---|
agents | Data | Auxiliary data |
getipbyisp.php | Class | Class source |
getipby_core.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.