WebService::TaobaoIP - Perl interface to Taobao IP API
Version 0.03
use WebService::TaobaoIP; my $ti = WebService::TaobaoIP->new('123.123.123.123'); print $ti->ip; print $ti->country; print $ti->area; print $ti->region; print $ti->city; print $ti->isp;
The WebService::TaobaoIP is a class implementing Taobao IP API. With it, you can get IP location information.
This method constructs a new WebService::TaobaoIP object. You need to provide $ip argment.
The following attribute methods are provided.
Return IP address.
Return country.
Return area.
Return region.
Return city.
Return ISP.
Xiaodong Xu, <xxdlhy at gmail.com>
<xxdlhy at gmail.com>
Copyright 2013 Xiaodong Xu.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::TaobaoIP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::TaobaoIP
CPAN shell
perl -MCPAN -e shell install WebService::TaobaoIP
For more information on module installation, please visit the detailed CPAN module installation guide.